How to love C# and Entity Framework

This is how to fall in love with Entity Framework Kids.

 [Required]
 [StringLength(30)]
 [RegularExpression(@"^[A-Z]+[a-zA-Z''-'\s]*$", ErrorMessage = "Invalid Characters")]
 [Display(Name = "Firstname")]
 public string FirstName { get; set; }


 [Required]
 [StringLength(30)]
 [RegularExpression(@"^[A-Z]+[a-zA-Z''-'\s]*$", ErrorMessage = "Invalid Characters")]
 [Display(Name = "Lastname")]
 public string LastName { get; set; }

How can anyone not love that piece of art Kids.
It’s a thing of beauty.

It's only fair to share...Share on FacebookShare on Google+Tweet about this on TwitterShare on LinkedIn

Leave a Reply

Your email address will not be published. Required fields are marked *