Пример #1
0
 public static IPocoDynamo RegisterTable(this IPocoDynamo db, Type tableType)
 {
     DynamoMetadata.RegisterTable(tableType);
     return(db);
 }
Пример #2
0
 public DynamoMetadataType GetTableMetadata(Type table)
 {
     return(DynamoMetadata.TryGetTable(table) ?? DynamoMetadata.RegisterTable(table));
 }
Пример #3
0
 public static IPocoDynamo RegisterTable <T>(this IPocoDynamo db)
 {
     DynamoMetadata.RegisterTable(typeof(T));
     return(db);
 }