2010-05-21 80 views

回答

3
public class Model 
{ 
    [Bindable(false)] // this is the attribute you can use... 
    public int ModelId { get; set; } 
} 
+0

它仍然試圖驗證的屬性,如果它是有約束力。 – John 2015-04-11 18:03:05