CompanyName이라는 단일 속성을 가진 Customer 클래스를 포함하는 dbml 파일이있는 경우; public partial class Customer : INotifyPropertyChanging, INotifyPropertyChanged
private string _CompanyName;
public string CompanyName
{
ASP.NET MVC 2 모델 유효성 검사에 하위 개체가 포함되어 있습니까? 내가이 클래스에서 "필터"인스턴스가 내 주요 개체에 public class Filter
{
[StringLength(5)]
String Text { get; set; }
}
: 나는 TryValidateModel (mainObject)을 할 때 public