Exemple #1
0
        public void TestTimeStamp()
        {
            RepositoryMysql <TestStamp> repoStamp = new RepositoryMysql <TestStamp>(conn);
            var  rst = repoStamp.Where(x => true);
            bool b   = rst.Any(x => x.ROWVERSION < 1);

            Assert.False(b);
        }
Exemple #2
0
 public void QueryBid2()
 {
     string cn = "server=172.16.101.113;User Id=root;password=abc,123;Database=smartbid;CharSet=utf8;";
     var    bidSuptbankRepository = new RepositoryMysql <BidSuptbank>(cn);
     var    res = bidSuptbankRepository.Where(x => x.bank_default == false);
 }