Inheritance: IStoreInfo
示例#1
0
文件: Store.cs 项目: abaxas/elephanet
 public DocumentStore(string connectionString)
 {
     ConnectionString = connectionString;
     Conventions = new StoreConventions();
     StoreInfo = new StoreInfo();
     TableNames = new List<string>();
 }
示例#2
0
        public void StoreInfo_GivenANewTable_Should_AddItToItsTableNamesList()
        {
            StoreInfo storeInfo = new StoreInfo();
            storeInfo.Add("someting or rather");

            storeInfo.Tables.ShouldContain("someting or rather");
        }
示例#3
0
文件: Store.cs 项目: abaxas/elephanet
 public DocumentStore(string connectionString, IStoreConventions conventions)
 {
     ConnectionString = connectionString;
     Conventions = conventions;
     StoreInfo = new StoreInfo();
 }