Advertisement
Guest User

Untitled

a guest
Jan 28th, 2015
194
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.61 KB | None | 0 0
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6.  
  7. namespace Bazy2_PiotrBaran
  8. {
  9. class Program
  10. {
  11. static void Main(string[] args)
  12. {
  13. }
  14. }
  15.  
  16. class Blog
  17. {
  18. public int BlogId { get; set; }
  19. public String Name { get; set; }
  20. public virtual List<Post> Posts { get; set; }
  21.  
  22. }
  23.  
  24. class Post
  25. {
  26. public int PostId { get; set; }
  27. public String Title { get; set; }
  28. public String Content { get; set; }
  29. public int BlogId { get; set; }
  30.  
  31.  
  32. }
  33. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement