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
ファイル: StoreInfoTests.cs プロジェクト: jmkelly/elephanet
        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();
 }