Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.ComponentModel.DataAnnotations;
- namespace AskMeDudeClassLibrary
- {
- public class Category
- {
- public int CategoryId { get; set; }
- [StringLength(250), MinLength(1)]
- [Required]
- public string Name { get; set; }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement