コード例 #1
0
ファイル: UnitTest1.cs プロジェクト: rbutalia/efcore-example
        public void Check_Existing_Companies()
        {
            var context = new Ex1DataContext(_options);
            var repo    = new DisconnectedData(context);

            Assert.IsTrue(repo.GetCompanyReferenceList().Count > 0);
        }
コード例 #2
0
        public IEnumerable <KeyValuePair <int, string> > Get()
        {
            var list = _repo.GetCompanyReferenceList();

            return(list);
        }