Advertisement
Ludwiq

Tabele w bazie

Feb 4th, 2015
240
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.54 KB | None | 0 0
  1. public class Notes
  2.     {
  3.         public Notes()
  4.         {
  5.             DateOfPosting = DateTime.Now;
  6.         }
  7.  
  8.         public int ID { get; set; }
  9.         public string Content { get; set; }
  10.         public DateTime DateOfPosting { get; set; }
  11.         public virtual ICollection<Tags> Tags { get; set; }
  12.  
  13.         public string OwnerName { get; set; }
  14.     }
  15.  
  16.     public class Tags
  17.     {
  18.         public int ID { get; set; }
  19.         public string Name { get; set; }
  20.         public virtual ICollection<Notes> Notes { get; set; }
  21.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement