public virtual DataSet.CredentialDataTable GetDataByTitleId(long TitleId) { this.Adapter.SelectCommand = this.CommandCollection[1]; this.Adapter.SelectCommand.Parameters[0].Value = ((long)(TitleId)); DataSet.CredentialDataTable dataTable = new DataSet.CredentialDataTable(); this.Adapter.Fill(dataTable); return dataTable; }
public virtual DataSet.CredentialDataTable GetData() { this.Adapter.SelectCommand = this.CommandCollection[0]; DataSet.CredentialDataTable dataTable = new DataSet.CredentialDataTable(); this.Adapter.Fill(dataTable); return dataTable; }