public DocumentStore(string connectionString) { ConnectionString = connectionString; Conventions = new StoreConventions(); StoreInfo = new StoreInfo(); TableNames = new List<string>(); }
public void StoreInfo_GivenANewTable_Should_AddItToItsTableNamesList() { StoreInfo storeInfo = new StoreInfo(); storeInfo.Add("someting or rather"); storeInfo.Tables.ShouldContain("someting or rather"); }
public DocumentStore(string connectionString, IStoreConventions conventions) { ConnectionString = connectionString; Conventions = conventions; StoreInfo = new StoreInfo(); }