コード例 #1
0
        public InternalOrganisationTests()
        {
            this.ownBankAccount = this.Session.Extent <OwnBankAccount>().First;

            this.billingAddress = new WebAddressBuilder(this.Session).WithElectronicAddressString("billfrom").Build();

            this.Session.Derive();
            this.Session.Commit();
        }
コード例 #2
0
 private void InstantiateObjects(ISession session)
 {
     this.ownBankAccount = (OwnBankAccount)session.Instantiate(this.ownBankAccount);
     this.billingAddress = (WebAddress)session.Instantiate(this.billingAddress);
 }