コード例 #1
0
        public void IsActiveFail()
        {
            AppActs.API.Repository.Interface.IAccountRepository iAccountRepository =
                new AppActs.API.Repository.AccountRepository(this.connectionString);

            Assert.IsFalse(iAccountRepository.Find(true, Guid.Empty) > 0);
        }
コード例 #2
0
        public void IsActiveFail()
        {
            AppActs.API.Repository.Interface.IAccountRepository iAccountRepository =
                new AppActs.API.Repository.AccountRepository(this.connectionString);

            Assert.IsFalse(iAccountRepository.Find(true, Guid.Empty) > 0);
        }
コード例 #3
0
        public void IsActive()
        {
            AppActs.API.Repository.Interface.IAccountRepository iAccountRepositoryDevice =
                new AppActs.API.Repository.AccountRepository(this.connectionString);

            int accountCount =
                iAccountRepositoryDevice.Find(true, this.Account.Guid);

            Assert.IsTrue(accountCount > 0);
        }
コード例 #4
0
        public void IsActive()
        {
            AppActs.API.Repository.Interface.IAccountRepository iAccountRepositoryDevice =
                new AppActs.API.Repository.AccountRepository(this.connectionString);

            int accountCount =
                iAccountRepositoryDevice.Find(true, this.Account.Guid);

            Assert.IsTrue(accountCount > 0);
        }