Пример #1
0
        public override void Persisting()
        {
            base.Persisting();
            AccountHolderLink = PolymorphicNavigator.NewTransientLink <CustomerAccountAccountHolderLink, ICustomerAccountHolder, CustomerAccount>(_AccountHolder, this);
            string number = AccountNumberCreator.GetAccountNumberForNewAccount(this);

            Code = number;
        }
Пример #2
0
 public void Persisting()
 {
     TargetObjectLink = PolymorphicNavigator.NewTransientLink <ObjectAuditedEventTargetObjectLink, IDomainInterface, ObjectAuditedEvent>(_TargetObject, this);
 }
 //TODO:  Move this method into LifeCycle Methods region, or add code into existing Persisting method
 public void Persisting()
 {
     PayeeLink = PolymorphicNavigator.NewTransientLink <PolymorphicPaymentPayeeLink, IPayee, PolymorphicPayment>(_Payee, this);
 }
Пример #4
0
 public override void Persisting()
 {
     base.Persisting();
     ContentLink = PolymorphicNavigator.NewTransientLink <ExternalDocumentContentLink, IExternalDocument, ExternalDocument>(_Content, this);
 }