c# Programming Glossary: fixedbankaccount
Refactoring code to avoid anti-pattern http://stackoverflow.com/questions/11224170/refactoring-code-to-avoid-anti-pattern project which has the following code. The domain object is FixedBankAccount which implements IBankAccount . The repository is made as a.. will not be an interface member The domain object FixedBankAccount makes use of the repository directly to store the data. Is this.. int BankAccountID get set void FreezeAccount public class FixedBankAccount IBankAccount private RepositoryLayer.IRepository RepositoryLayer.BankAccount..
DDD Approach to Access External Information http://stackoverflow.com/questions/11241541/ddd-approach-to-access-external-information below. The banks account can be of SavingsBankAccount or FixedBankAccount. There is an operation called IssueLumpSumInterest. For FixedBankAccount.. There is an operation called IssueLumpSumInterest. For FixedBankAccount the balance need to be updated only if the owner of the account.. of the account has no other account. This demands the FixedBankAccount object to know about other accounts of the account owner. How..
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 objects myself. Please see IBankAccount interface and FixedBankAccount class. The key point is there is polymorphic behavior the IBankAccount.. is there is polymorphic behavior the IBankAccount can be FixedBankAccount or SavingsBankAccount. For a different question with this example.. get set void FreezeAccount void AddInterest public class FixedBankAccount IBankAccount public int BankAccountID get set public string..
Optimizing Repository?™s SubmitChanges Method http://stackoverflow.com/questions/11262785/optimizing-repositorys-submitchanges-method Type Checking if iBankAcc is DomainEntitiesForBank.FixedBankAccount tableEntity.AccountType Fixed if iBankAcc is DomainEntitiesForBank.SavingsBankAccount.. AccountStatus get set void FreezeAccount public class FixedBankAccount IBankAccount public int BankAccountID get set public string..
Persist Data by Programming Against Interface http://stackoverflow.com/questions/11291202/persist-data-by-programming-against-interface AccountOwnerID get set namespace DBML_Project public class FixedBankAccount BankAccount Note BankAccount already implemnts IBankAccount.. dbo.BankAccount InheritanceMapping Code Fixed Type typeof FixedBankAccount IsDefault true InheritanceMapping Code Savings Type typeof SavingsBankAccount..
Unit Testing without Database: Linq to SQL http://stackoverflow.com/questions/11348691/unit-testing-without-database-linq-to-sql public virtual void Freeze Do nothing public class FixedBankAccount BankAccount public override void Freeze this.Status FrozenFA.. dbo.BankAccount InheritanceMapping Code Fixed Type typeof FixedBankAccount IsDefault true InheritanceMapping Code Savings Type typeof SavingsBankAccount..
|