Example #1
0
 public void LoadCreatedByApplicationUser(BankAccountCard obj)
 {
     if (obj.CreatedByApplicationUser != null)
     {
         _createdByApplicationUserProperty = obj.CreatedByApplicationUser.CurrentDTO;
     }
 }
Example #2
0
 public void LoadBankAccount(BankAccountCard obj)
 {
     if (obj.BankAccount != null)
     {
         _bankAccountProperty = obj.BankAccount.CurrentDTO;
     }
 }
Example #3
0
 public void LoadHeldByStaffApplicationUser(BankAccountCard obj)
 {
     if (obj.HeldByStaffApplicationUser != null)
     {
         _heldByStaffApplicationUserProperty = obj.HeldByStaffApplicationUser.CurrentDTO;
     }
 }
Example #4
0
        public static BankAccountCard GetBankAccountCard(Func <IDataReader, BankAccountCard> rowParser, SqlDataReader reader)
        {
            BankAccountCard obj = rowParser(reader);

            obj.InitDTO();
            obj.IsDirty = false;
            obj.IsNew   = false;
            return(obj);
        }
Example #5
0
 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);
 }
Example #6
0
        /// <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);
        }
Example #7
0
 protected void UpdateChildren(BankAccountCard parent, SqlConnection connection, SqlTransaction trans)
 {
 }