Пример #1
0
        public CashIncomeInfo(IDataRecord record)
        {
            FieldLoader loader = new FieldLoader(record);

            loader.LoadInt32("Id", ref this.id);
            loader.LoadInt32("OwnerId", ref this.ownerId);
            loader.LoadString("OwnerName", ref this.ownerName);
            loader.LoadInt32("CardId", ref this.cardId);
            loader.LoadString("CardNumber", ref this.cardNumber);
            loader.LoadString("BankCardNumber", ref this.bankCardNumber);
            loader.LoadFloat("IncomeAmount", ref this.incomeAmount);
            loader.LoadInt32("PreMode", ref this.preMode);
            loader.LoadInt32("Mode", ref this.mode);
            loader.LoadInt32("PreRate", ref this.preRate);
            loader.LoadInt32("Rate", ref this.rate);
            loader.LoadDateTime("DepositDate", ref this.depositDate);
            loader.LoadDateTime("BDate", ref this.bDate);
            loader.LoadDateTime("EDate", ref this.eDate);
            loader.LoadInt32("AutoSave", ref this.autoSave);
            loader.LoadInt32("DepositorId", ref this.depositorId);
            loader.LoadString("DepositorName", ref this.depositorName);
            loader.LoadInt32("DepositMode", ref this.depositMode);
            loader.LoadInt32("Status", ref this.status);
            loader.LoadInt32("IncomeType", ref this.incomeType);
            loader.LoadFloat("TAmount", ref this.tAmount);
            loader.LoadString("Content", ref this.content);
        }
Пример #2
0
        public UserInfo(IDataRecord record)
        {
            FieldLoader loader = new FieldLoader(record);

            loader.LoadInt32("Id", ref this.id);
            loader.LoadString("Code", ref this.code);
            loader.LoadString("Name", ref this.name);
            loader.LoadString("Password", ref this.password);
            loader.LoadString("EMail", ref this.eMail);
            loader.LoadInt32("Role", ref this.role);
            loader.LoadString("Content", ref this.content);
        }
Пример #3
0
        public LoanInfo(IDataRecord record)
        {
            FieldLoader loader = new FieldLoader(record);

            loader.LoadInt32("Id", ref this.id);
            loader.LoadInt32("LoanType", ref this.loanType);
            loader.LoadString("LoanAccount", ref this.loanAccount);
            loader.LoadString("Lender", ref this.lender);
            loader.LoadInt32("BorrowType", ref this.borrowType);
            loader.LoadString("BorrowAccount", ref this.borrowAccount);
            loader.LoadString("Borrower", ref this.borrower);
            loader.LoadFloat("LoanAmount", ref this.loanAmount);
            loader.LoadDateTime("LoanDate", ref this.loanDate);
            loader.LoadDateTime("ReturnDate", ref this.returnDate);
            loader.LoadString("Content", ref this.content);
        }
Пример #4
0
        public Out_Type_DictionaryInfo(IDataRecord record)
        {
            FieldLoader loader = new FieldLoader(record);

            loader.LoadInt32("Id", ref this.id);
            loader.LoadString("Name", ref this.name);
        }
Пример #5
0
        public BorrowORLoanInfo(IDataRecord record)
        {
            FieldLoader loader = new FieldLoader(record);

            loader.LoadInt32("Id", ref this.id);
            loader.LoadInt32("BorrowORLoan", ref this.borrowORLoan);
            loader.LoadInt32("BorrowORLoanType", ref this.borrowORLoanType);
            loader.LoadInt32("BorrowORLoanAccountId", ref this.borrowORLoanAccountId);
            loader.LoadString("BorrowedAccount", ref this.borrowedAccount);
            loader.LoadString("Borrower", ref this.borrower);
            loader.LoadString("LoanAccount", ref this.loanAccount);
            loader.LoadString("Lender", ref this.lender);
            loader.LoadFloat("Amount", ref this.amount);
            loader.LoadDateTime("HappenedDate", ref this.happenedDate);
            loader.LoadDateTime("ReturnDate", ref this.returnDate);
            loader.LoadInt32("Status", ref this.status);
            loader.LoadString("Content", ref this.content);
        }
Пример #6
0
        public CardInfo(IDataRecord record)
        {
            FieldLoader loader = new FieldLoader(record);

            loader.LoadInt32("Id", ref this.id);
            loader.LoadInt32("BankId", ref this.bankId);
            loader.LoadString("CardNumber", ref this.cardnumber);
            loader.LoadInt32("AccountType", ref this.accountType);
            loader.LoadFloat("Amount", ref this.amount);
            loader.LoadFloat("ExpenditureAmount", ref this.expenditureAmount);
            loader.LoadFloat("BorrowAmount", ref this.borrowAmount);
            loader.LoadFloat("LoanAmount", ref this.loanAmount);
            loader.LoadFloat("IncomeAmount", ref this.incomeAmount);
            loader.LoadInt32("OwnerId", ref this.ownerId);
            loader.LoadString("UserCode", ref this.ownerCode);
            loader.LoadString("OwnerName", ref this.ownerName);
            loader.LoadInt32("UserId", ref this.userId);
            loader.LoadString("UserCode", ref this.userCode);
            loader.LoadString("UserName", ref this.userName);
            loader.LoadString("BankName", ref this.bankName);
            loader.LoadDateTime("OpenDate", ref this.openDate);
            loader.LoadString("Content", ref this.content);
            //loader.LoadDateTime("ModifyTime", ref this.modifyTime);
        }
Пример #7
0
        public ExpensesInfo(IDataRecord record)
        {
            FieldLoader loader = new FieldLoader(record);

            loader.LoadInt32("Id", ref this.id);
            loader.LoadInt32("OwnerId", ref this.ownerId);
            loader.LoadString("OwnerName", ref this.ownerName);
            loader.LoadInt32("CardId", ref this.cardId);
            loader.LoadString("CardNumber", ref this.cardNumber);
            loader.LoadString("BankCardNumber", ref this.bankCardNumber);
            loader.LoadInt32("SpendType", ref this.spendType);
            loader.LoadString("HowToUse", ref this.howToUse);
            loader.LoadFloat("Price", ref this.price);
            loader.LoadInt32("Number", ref this.number);
            loader.LoadFloat("Amount", ref this.amount);
            loader.LoadDateTime("SpendDate", ref this.spendDate);
            loader.LoadInt32("SpendMode", ref this.spendMode);
            loader.LoadInt32("ConsumerId", ref this.consumerId);
            loader.LoadString("ConsumerName", ref this.consumerName);
            loader.LoadString("Content", ref this.content);
        }