2010-05-21 50 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