Inheritance: IStoreInfo
Ejemplo n.º 1
0
 public DocumentStore(string connectionString)
 {
     ConnectionString = connectionString;
     Conventions = new StoreConventions();
     StoreInfo = new StoreInfo();
     TableNames = new List<string>();
 }
Ejemplo n.º 2
0
        public void StoreInfo_GivenANewTable_Should_AddItToItsTableNamesList()
        {
            StoreInfo storeInfo = new StoreInfo();
            storeInfo.Add("someting or rather");

            storeInfo.Tables.ShouldContain("someting or rather");
        }
Ejemplo n.º 3
0
 public DocumentStore(string connectionString, IStoreConventions conventions)
 {
     ConnectionString = connectionString;
     Conventions = conventions;
     StoreInfo = new StoreInfo();
 }