Bosphorus.Dao.Demo.NHibernate.General.ExecutionList.RelationByMap.AbstractCascade.Account_Insert C# (CSharp) Method

Account_Insert() public method

public Account_Insert ( ) : Account
return Bosphorus.Dao.Demo.Common.Business.Account
        public virtual Account Account_Insert()
        {
            //Customer customer = ReadCustomer();
            Account account = AccountBuilder.Default.Build();

            account.Customer = new Customer() {Id = 1};

            accountDao.Insert(account);
            return account;
        }