Esempio n. 1
0
        protected DynamoDBRepository(string tableName, IDynamoDBConfigProvider configProvider)
        {
            TableName = tableName;

            Factory     = new DynamoDBFactory(configProvider);
            DynamoTable = Factory.GetTableObject(TableName);
        }
Esempio n. 2
0
 public DynamoDBFactory(IDynamoDBConfigProvider configProvider)
 {
     ConfigProvider = configProvider;
 }
 /// <summary>
 /// The only thing required for the repository is the name of the table and
 /// a Configuration Provider that can be resolved
 /// </summary>
 public MovieRepository(IDynamoDBConfigProvider configProvider) : base("Movies", configProvider)
 {
 }