Guest User

Untitled

a guest
Feb 17th, 2019
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.58 KB | None | 0 0
  1. using System;
  2. using System.Collections.Generic;
  3. using Marten.Schema;
  4.  
  5. namespace marten_playground
  6. {
  7. public class Root
  8. {
  9. public Guid Id { get; set; }
  10. public string Name { get; set; }
  11.  
  12. public ICollection<ChildLevel1> ChildsLevel1 { get; set; }
  13. }
  14.  
  15. public class ChildLevel1
  16. {
  17. public Guid Id { get; set; }
  18. public string Name { get; set; }
  19.  
  20. public ICollection<ChildLevel2> ChildsLevel2 { get; set; }
  21. }
  22.  
  23. public class ChildLevel2
  24. {
  25. public Guid Id { get; set; }
  26. public string Name { get; set; }
  27. }
  28. }
Add Comment
Please, Sign In to add comment