public static void Register(ValidationBinder binder)
 {
     binder.Register("productdescription", WriteInProduct);
     binder.Register("productid", ProductId);
 }
示例#2
0
 public static void Register(ValidationBinder binder)
 {
     binder.Register("firstname", FirstName);
     binder.Register("accountrolecode", AccountRoleCode);
     binder.Register("birthdate", BirthDate);
 }
 public static void RegisterValidation(ValidationBinder binder)
 {
     binder.Register("record1id", ValidateRecord1Id);
     binder.Register("record1roleid", ValidateRecord1RoleId);
 }
示例#4
0
 public static void Register(ValidationBinder binder)
 {
    
     binder.Register("publishdate", PublishDate);
    
 }