public InternalOrganisationTests() { this.ownBankAccount = this.Session.Extent <OwnBankAccount>().First; this.billingAddress = new WebAddressBuilder(this.Session).WithElectronicAddressString("billfrom").Build(); this.Session.Derive(); this.Session.Commit(); }
private void InstantiateObjects(ISession session) { this.ownBankAccount = (OwnBankAccount)session.Instantiate(this.ownBankAccount); this.billingAddress = (WebAddress)session.Instantiate(this.billingAddress); }