상속: System.Entity
 public Transaction(string description, decimal amount, Account account)
 {
     this.Description = description;
     this.Amount = amount;
     this.Account = account;
     this.Date = DateTime.Now.Date;
 }
예제 #2
0
 public Child(string name, string userName, string password, int parentId)
     : base(name, userName, password)
 {
     ParentId = parentId;
     Account = new Account();
     IsActive = true;
 }
 public PaymentSchedule(DateTime nextRun, Interval interval, decimal amount, string description, Account account)
 {
     this.NextRun = nextRun;
     this.Interval = interval;
     this.Amount = amount;
     this.Description = description;
     this.Account = account;
 }