Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System.ComponentModel.DataAnnotations;
- namespace WcfRiaWithPocos.Web
- {
- public class Person
- {
- [Key]
- public int Id { get; set; }
- public string Name { get; set; }
- [Required]
- public int Age { get; set; }
- }
- }
Add Comment
Please, Sign In to add comment