public virtual CloudAccountDA.CreditHistoryDetailDataTable GetData() { this.Adapter.SelectCommand = this.CommandCollection[0]; CloudAccountDA.CreditHistoryDetailDataTable dataTable = new CloudAccountDA.CreditHistoryDetailDataTable(); this.Adapter.Fill(dataTable); return(dataTable); }
public virtual int Fill(CloudAccountDA.CreditHistoryDetailDataTable dataTable) { this.Adapter.SelectCommand = this.CommandCollection[0]; if (this.ClearBeforeFill) { dataTable.Clear(); } return(this.Adapter.Fill(dataTable)); }
public virtual CloudAccountDA.CreditHistoryDetailDataTable DeleteByCreditID(int?CreditID) { this.Adapter.SelectCommand = this.CommandCollection[1]; if (CreditID.HasValue) { this.Adapter.SelectCommand.Parameters[1].Value = CreditID.Value; } else { this.Adapter.SelectCommand.Parameters[1].Value = DBNull.Value; } CloudAccountDA.CreditHistoryDetailDataTable dataTable = new CloudAccountDA.CreditHistoryDetailDataTable(); this.Adapter.Fill(dataTable); return(dataTable); }
public virtual int Update(CloudAccountDA.CreditHistoryDetailDataTable dataTable) { return(this.Adapter.Update(dataTable)); }