示例#1
0
        public void EnumDescDataStoreGetFromSqlServer()
        {
            IEnumDescRepository dataStore = new EnumDescSaveToSqlServer();
            EnumDescCollection  enumDesc  = dataStore.GetDataEnumDescSetAsync().Result;

            //saveData.SaveDataEnumDescSet(edc);
            Assert.IsTrue(enumDesc.Count > 0);
        }
示例#2
0
        public void EnumDescDataStoreSaveToSqlServer()
        {
            IEnumDescRepository saveData = new EnumDescSaveToSqlServer();

            saveData.SaveDataEnumDescSetAsync(edc).Wait();
            //saveData.SaveDataEnumDescSet(edc);
            Assert.IsTrue(true);
        }