Few questions - DB and Custom Validators

Nov 29, 2013 at 5:37 AM
Where is the database?

What is more Nido has in "Required" and "StringLenth" attribute validators?
Marked as answer by RocketFramework on 12/1/2013 at 10:30 PM
Coordinator
Nov 29, 2013 at 5:47 AM
Edited Nov 29, 2013 at 5:48 AM
for DB
  • Download the latest sourcecode from here
  • Inside the "DemoTestApplication" find the DB with the name "School.bak"
Custom Validators

These two custom validators have the ability to merge the "DisplayName" value when showing the respective error messages.

e.g.: -

[Nido.Common.Utilities.Validators.Required]
[DisplayName("Student Name")]
public string Name { get; set; }

Required field validation error will be "Student Name is required"
Where as the default validator would not recognize the display name
Marked as answer by RocketFramework on 12/1/2013 at 10:30 PM