public virtual dsLanguageData.DictionaryDataTable GetDataByID(int id) { this.Adapter.SelectCommand = this.CommandCollection[3]; this.Adapter.SelectCommand.Parameters[0].Value = ((int)(id)); dsLanguageData.DictionaryDataTable dataTable = new dsLanguageData.DictionaryDataTable(); this.Adapter.Fill(dataTable); return dataTable; }
public virtual dsLanguageData.DictionaryDataTable 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.DictionaryDataTable dataTable = new dsLanguageData.DictionaryDataTable(); this.Adapter.Fill(dataTable); return dataTable; }
public virtual dsLanguageData.DictionaryDataTable GetData() { this.Adapter.SelectCommand = this.CommandCollection[0]; dsLanguageData.DictionaryDataTable dataTable = new dsLanguageData.DictionaryDataTable(); this.Adapter.Fill(dataTable); return dataTable; }