c# Programming Glossary: freezeallaccountsforuser
How to write functionality using DDD / CQRS http://stackoverflow.com/questions/11095361/how-to-write-functionality-using-ddd-cqrs private IAccountRepository _accountRespository public void FreezeAllAccountsForUser Guid userId IEnumerable IAccount accounts _accountRespository.GetAccountsByUserId..
Refactoring code to avoid anti-pattern http://stackoverflow.com/questions/11224170/refactoring-code-to-avoid-anti-pattern accountRepository repo bankFactory bankFact public void FreezeAllAccountsForUser int userId IEnumerable RepositoryLayer.BankAccount accountsForUser..
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 accountRepository repo bankFactory bankFact public void FreezeAllAccountsForUser int userId IEnumerable RepositoryLayer.BankAccount accountsForUser..
How to Implement Repository FindAll() Method? http://stackoverflow.com/questions/11261212/how-to-implement-repository-findall-method new RepositoryLayer.LijosSimpleBankRepository public void FreezeAllAccountsForUser string userName Should not use assembly 'DBML_Project'. IEnumerable..
Unit Testing without Database: Linq to SQL http://stackoverflow.com/questions/11348691/unit-testing-without-database-linq-to-sql though I don't have a database. How can I write the UT for FreezeAllAccountsForUser method Can you please show an example using manually mocking.. do this you have to fake these objects. CODE public void FreezeAllAccountsForUser int userId List DTOLayer.BankAccountDTOForStatus bankAccountDTOList.. repository there is no DB access fast tests. public void FreezeAllAccountsForUser int userId ILijosBankRepository accountRepository your code..
|