Exemple #1
0
            protected override void Initialize(ISchema schema)
            {
                schema.Entity <MyEntity>().Auto();
                schema.Entity <MyEntity>().Key.Partition(x => new { x.Id, x.Stamp });

                schema.Entity <MyEntity>().Column(x => x.Stamp).Quantum(1, 'd');
            }
Exemple #2
0
 public void Register(ISchema schema)
 {
     Register(schema.Entity <T>());
 }