Created
February 15, 2019 14:49
-
-
Save robert-skarzycki/c0c26f32e0000c17faabc6c5debde55c to your computer and use it in GitHub Desktop.
Classes for reproduction problems I faced with Marten
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using Marten.Schema; | |
namespace marten_playground | |
{ | |
public class Root | |
{ | |
public Guid Id { get; set; } | |
public string Name { get; set; } | |
public ICollection<ChildLevel1> ChildsLevel1 { get; set; } | |
} | |
public class ChildLevel1 | |
{ | |
public Guid Id { get; set; } | |
public string Name { get; set; } | |
public ICollection<ChildLevel2> ChildsLevel2 { get; set; } | |
} | |
public class ChildLevel2 | |
{ | |
public Guid Id { get; set; } | |
public string Name { get; set; } | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment