/// <summary> /// Creates a Table object with the specified configuration, using the /// passed-in client to load the table definition. /// /// This method will throw an exception if the table does not exist. /// </summary> /// <param name="ddbClient">Client to use to access DynamoDB.</param> /// <param name="config">Configuration to use for the table.</param> /// <returns>Table object representing the specified table.</returns> public static Table LoadTable(IAmazonDynamoDB ddbClient, TableConfig config) { Table table = new Table(ddbClient, config); table.LoadTableInfo(); return(table); }
internal static Table LoadTable(IAmazonDynamoDB ddbClient, string tableName, Table.DynamoDBConsumer consumer, DynamoDBEntryConversion conversion) { Table table = new Table(ddbClient, tableName, consumer, conversion); table.LoadTableInfo(); return(table); }
internal static Table LoadTable(IAmazonDynamoDB ddbClient, string tableName, Table.DynamoDBConsumer consumer, DynamoDBEntryConversion conversion) { Table table = new Table(ddbClient, tableName, consumer, conversion); table.LoadTableInfo(); return table; }