Пример #1
0
            public CreditsRow AddCreditsRow(
                string ClientName,
                int ClientGroupID,
                string CreditStatusName,
                int CreditStatusID,
                int ClientID,
                bool IsGranted,
                System.DateTime StartDate,
                System.DateTime EndDate,
                System.Double CreditSum,
                System.Double ServiceCharge,
                System.Double ServiceChargeExtra,
                string Remarks,
                string GrantedText,
                string CreditSumCurrency,
                string ClientGroupName,
                bool IsExtended,
                bool IsShortTerm,
                string CreditType,
                bool PercentageRoundMode,
                bool PercentageSinkMode)
            {
                CreditsRow rowCreditsRow = ((CreditsRow)(this.NewRow()));

                rowCreditsRow.ItemArray = new object[] {
                    ClientName,
                    ClientGroupID,
                    CreditStatusName,
                    null,
                    CreditStatusID,
                    ClientID,
                    IsGranted,
                    StartDate,
                    EndDate,
                    CreditSum,
                    ServiceCharge,
                    ServiceChargeExtra,
                    Remarks,
                    GrantedText,
                    CreditSumCurrency,
                    ClientGroupName,
                    IsExtended,
                    IsShortTerm,
                    CreditType,
                    PercentageRoundMode,
                    PercentageSinkMode
                };
                this.Rows.Add(rowCreditsRow);
                return(rowCreditsRow);
            }
Пример #2
0
 public CreditsRowChangeEvent(CreditsRow row, DataRowAction action)
 {
     this.eventRow    = row;
     this.eventAction = action;
 }
Пример #3
0
 public void RemoveCreditsRow(CreditsRow row)
 {
     this.Rows.Remove(row);
 }
Пример #4
0
 public void AddCreditsRow(CreditsRow row)
 {
     this.Rows.Add(row);
 }