public virtual Complain.InvestigationDataTable GetInvestigationDetailsByComplainId(global::System.Nullable<global::System.Guid> ComplainId) { this.Adapter.SelectCommand = this.CommandCollection[3]; if ((ComplainId.HasValue == true)) { this.Adapter.SelectCommand.Parameters[1].Value = ((System.Guid)(ComplainId.Value)); } else { this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; } Complain.InvestigationDataTable dataTable = new Complain.InvestigationDataTable(); this.Adapter.Fill(dataTable); return dataTable; }
public virtual Complain.InvestigationDataTable GetInvestigationDetail() { this.Adapter.SelectCommand = this.CommandCollection[0]; Complain.InvestigationDataTable dataTable = new Complain.InvestigationDataTable(); this.Adapter.Fill(dataTable); return dataTable; }