public virtual SchemaReader.ChildRelationsDataTable GetDataByTableName(string tableName) { this.Adapter.SelectCommand = this.CommandCollection[1]; if ((tableName == null)) { throw new global::System.ArgumentNullException("tableName"); } else { this.Adapter.SelectCommand.Parameters[0].Value = ((string)(tableName)); } SchemaReader.ChildRelationsDataTable dataTable = new SchemaReader.ChildRelationsDataTable(); this.Adapter.Fill(dataTable); return dataTable; }
public virtual SchemaReader.ChildRelationsDataTable GetData() { this.Adapter.SelectCommand = this.CommandCollection[0]; SchemaReader.ChildRelationsDataTable dataTable = new SchemaReader.ChildRelationsDataTable(); this.Adapter.Fill(dataTable); return dataTable; }