public virtual dsLanguageData.CollectionDataTable GetDataByID(int id) { this.Adapter.SelectCommand = this.CommandCollection[3]; this.Adapter.SelectCommand.Parameters[0].Value = ((int)(id)); dsLanguageData.CollectionDataTable dataTable = new dsLanguageData.CollectionDataTable(); this.Adapter.Fill(dataTable); return dataTable; }
public virtual dsLanguageData.CollectionDataTable GetDataByName(string name) { this.Adapter.SelectCommand = this.CommandCollection[4]; if ((name == null)) { throw new global::System.ArgumentNullException("name"); } else { this.Adapter.SelectCommand.Parameters[0].Value = ((string)(name)); } dsLanguageData.CollectionDataTable dataTable = new dsLanguageData.CollectionDataTable(); this.Adapter.Fill(dataTable); return dataTable; }
public virtual dsLanguageData.CollectionDataTable GetData() { this.Adapter.SelectCommand = this.CommandCollection[0]; dsLanguageData.CollectionDataTable dataTable = new dsLanguageData.CollectionDataTable(); this.Adapter.Fill(dataTable); return dataTable; }