c# Programming Glossary: accountrepository
Refactoring code to avoid anti-pattern http://stackoverflow.com/questions/11224170/refactoring-code-to-avoid-anti-pattern RepositoryLayer.IRepository RepositoryLayer.BankAccount accountRepository public RepositoryLayer.IRepository RepositoryLayer.BankAccount.. RepositoryLayer.BankAccount AccountRepository get return accountRepository set accountRepository value public int BankAccountID get.. AccountRepository get return accountRepository set accountRepository value public int BankAccountID get set public void FreezeAccount..
DDD Approach to Access External Information http://stackoverflow.com/questions/11241541/ddd-approach-to-access-external-information RepositoryLayer.IRepository RepositoryLayer.BankAccount accountRepository ApplicationServiceForBank.IBankAccountFactory bankFactory public.. repo IBankAccountFactory bankFact accountRepository repo bankFactory bankFact public void IssueLumpSumInterest int.. RepositoryLayer.BankAccount oneOfRepositroyAccounts accountRepository.FindByID p p.BankAccountID acccountID int ownerID int oneOfRepositroyAccounts.AccountOwnerID..
Polymorphism: Is ORM entity a Domain Entity or Data Entity? http://stackoverflow.com/questions/11257484/polymorphism-is-orm-entity-a-domain-entity-or-data-entity RepositoryLayer.IRepository RepositoryLayer.BankAccount accountRepository ApplicationServiceForBank.IBankAccountFactory bankFactory public.. repo IBankAccountFactory bankFact accountRepository repo bankFactory bankFact public void FreezeAllAccountsForUser.. IEnumerable RepositoryLayer.BankAccount accountsForUser accountRepository.FindAll p p.BankUser.UserID userId foreach RepositoryLayer.BankAccount..
How to Implement Repository FindAll() Method? http://stackoverflow.com/questions/11261212/how-to-implement-repository-findall-method BankAccountService RepositoryLayer.ILijosBankRepository accountRepository new RepositoryLayer.LijosSimpleBankRepository public void FreezeAllAccountsForUser.. null accountsForUserWithNameLIJO accountRepository.FindAll p p.BankUser.Name Lijo namespace RepositoryLayer public..
Unit Testing without Database: Linq to SQL http://stackoverflow.com/questions/11348691/unit-testing-without-database-linq-to-sql FreezeAllAccountsForUser int userId ILijosBankRepository accountRepository your code as before test var mockRepository new Mock ILijosBankRepository..
|