예제 #1
0
 public IAccount NewAccount()
 {
     Account account = new Account();
     // Future settings:
     account.IsEnabled = true;
     account.Description = null;
     account.Currency = null;
     account.PeriodStartDay = 1;
     account.PeriodMonths = 1;
     account.Added = DateTime.Now;
     account.Modified = account.Added;
     db.Accounts.InsertOnSubmit( account );
     return account;
 }
예제 #2
0
 partial void DeleteAccount(Account instance);
예제 #3
0
 partial void UpdateAccount(Account instance);
예제 #4
0
 partial void InsertAccount(Account instance);