Esempio n. 1
0
 public DynamoMetadataType GetTableMetadata(Type table)
 {
     return(DynamoMetadata.TryGetTable(table) ?? DynamoMetadata.RegisterTable(table));
 }
Esempio n. 2
0
 public static IPocoDynamo RegisterTable <T>(this IPocoDynamo db)
 {
     DynamoMetadata.RegisterTable(typeof(T));
     return(db);
 }
Esempio n. 3
0
 public static IPocoDynamo RegisterTable(this IPocoDynamo db, Type tableType)
 {
     DynamoMetadata.RegisterTable(tableType);
     return(db);
 }
Esempio n. 4
0
 public DynamoDbSequenceSource(IPocoDynamo db)
 {
     this.db    = db;
     this.table = DynamoMetadata.RegisterTable <Seq>();
 }