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