Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class Notes
- {
- public Notes()
- {
- DateOfPosting = DateTime.Now;
- }
- public int ID { get; set; }
- public string Content { get; set; }
- public DateTime DateOfPosting { get; set; }
- public virtual ICollection<Tags> Tags { get; set; }
- public string OwnerName { get; set; }
- }
- public class Tags
- {
- public int ID { get; set; }
- public string Name { get; set; }
- public virtual ICollection<Notes> Notes { get; set; }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement