public void LoadCreatedByApplicationUser(BankAccountCard obj) { if (obj.CreatedByApplicationUser != null) { _createdByApplicationUserProperty = obj.CreatedByApplicationUser.CurrentDTO; } }
public void LoadBankAccount(BankAccountCard obj) { if (obj.BankAccount != null) { _bankAccountProperty = obj.BankAccount.CurrentDTO; } }
public void LoadHeldByStaffApplicationUser(BankAccountCard obj) { if (obj.HeldByStaffApplicationUser != null) { _heldByStaffApplicationUserProperty = obj.HeldByStaffApplicationUser.CurrentDTO; } }
public static BankAccountCard GetBankAccountCard(Func <IDataReader, BankAccountCard> rowParser, SqlDataReader reader) { BankAccountCard obj = rowParser(reader); obj.InitDTO(); obj.IsDirty = false; obj.IsNew = false; return(obj); }
public BankAccountCard CopyDTO(BankAccountCard obj) { obj.BankAccountID = this.BankAccountID; obj.CardNumber = this.CardNumber; obj.ExpDate = this.ExpDate; obj.HeldByStaffID = this.HeldByStaffID; obj.HeldFrom = this.HeldFrom; obj.HeldTo = this.HeldTo; obj.IsActive = this.IsActive; return(obj); }
/// <summary> /// Creates a new object of type <see cref="BankAccountCard"/>. /// </summary> /// <returns>Returns a newly instantiated collection of type <see cref="BankAccountCard"/>.</returns> public static BankAccountCard NewBankAccountCard() { BankAccountCard obj = new BankAccountCard(); return(obj); }
protected void UpdateChildren(BankAccountCard parent, SqlConnection connection, SqlTransaction trans) { }