Exemplo n.º 1
0
 public JsonDatabaseFixture()
 {
     DommelJsonMapper.AddJson(new DommelJsonOptions
     {
         EntityAssemblies = new[]
         {
             typeof(JsonDatabaseFixture).Assembly,
             typeof(DatabaseFixture).Assembly
         },
         JsonTypeHandler = () => new NpgJsonObjectTypeHandler(),
     });
 }
Exemplo n.º 2
0
 public DommelJsonMapperTests()
 {
     DommelJsonMapper.AddJson(typeof(Lead).Assembly);
 }