public virtual int Fill(SchemaReader.DBObjPropertiesDataTable dataTable, string propName, string lvl1Type, string lvl1Name, string objType, string objName, string lvl3Type, string lvl3Name) { this.Adapter.SelectCommand = this.CommandCollection[0]; if ((propName == null)) { this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value; } else { this.Adapter.SelectCommand.Parameters[0].Value = ((string)(propName)); } if ((lvl1Type == null)) { this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; } else { this.Adapter.SelectCommand.Parameters[1].Value = ((string)(lvl1Type)); } if ((lvl1Name == null)) { this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value; } else { this.Adapter.SelectCommand.Parameters[2].Value = ((string)(lvl1Name)); } if ((objType == null)) { this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value; } else { this.Adapter.SelectCommand.Parameters[3].Value = ((string)(objType)); } if ((objName == null)) { this.Adapter.SelectCommand.Parameters[4].Value = global::System.DBNull.Value; } else { this.Adapter.SelectCommand.Parameters[4].Value = ((string)(objName)); } if ((lvl3Type == null)) { this.Adapter.SelectCommand.Parameters[5].Value = global::System.DBNull.Value; } else { this.Adapter.SelectCommand.Parameters[5].Value = ((string)(lvl3Type)); } if ((lvl3Name == null)) { this.Adapter.SelectCommand.Parameters[6].Value = global::System.DBNull.Value; } else { this.Adapter.SelectCommand.Parameters[6].Value = ((string)(lvl3Name)); } if ((this.ClearBeforeFill == true)) { dataTable.Clear(); } int returnValue = this.Adapter.Fill(dataTable); return returnValue; }
public virtual int FillByConstraintName(SchemaReader.CONSTRAINT_COLUMN_USAGEDataTable dataTable, string ConstraintName) { this.Adapter.SelectCommand = this.CommandCollection[1]; if ((ConstraintName == null)) { throw new global::System.ArgumentNullException("ConstraintName"); } else { this.Adapter.SelectCommand.Parameters[0].Value = ((string)(ConstraintName)); } if ((this.ClearBeforeFill == true)) { dataTable.Clear(); } int returnValue = this.Adapter.Fill(dataTable); return returnValue; }
public virtual int Fill(SchemaReader.SCHEMATADataTable dataTable) { this.Adapter.SelectCommand = this.CommandCollection[0]; if ((this.ClearBeforeFill == true)) { dataTable.Clear(); } int returnValue = this.Adapter.Fill(dataTable); return returnValue; }
public virtual int FillByTableName(SchemaReader.TABLE_CONSTRAINTSDataTable dataTable, string tableName) { this.Adapter.SelectCommand = this.CommandCollection[1]; if ((tableName == null)) { this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value; } else { this.Adapter.SelectCommand.Parameters[0].Value = ((string)(tableName)); } if ((this.ClearBeforeFill == true)) { dataTable.Clear(); } int returnValue = this.Adapter.Fill(dataTable); return returnValue; }
public virtual int FillContraints(SchemaReader.TABLE_CONSTRAINTSDataTable dataTable) { this.Adapter.SelectCommand = this.CommandCollection[0]; if ((this.ClearBeforeFill == true)) { dataTable.Clear(); } int returnValue = this.Adapter.Fill(dataTable); return returnValue; }
public virtual int FillByAllChildTablesOnly(SchemaReader.ForeignRelationsDataTable dataTable, string TableName) { this.Adapter.SelectCommand = this.CommandCollection[2]; if ((TableName == null)) { throw new global::System.ArgumentNullException("TableName"); } else { this.Adapter.SelectCommand.Parameters[0].Value = ((string)(TableName)); } if ((this.ClearBeforeFill == true)) { dataTable.Clear(); } int returnValue = this.Adapter.Fill(dataTable); return returnValue; }
public virtual int FillByTableName(SchemaReader.FieldDefinitionsDataTable dataTable, 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)); } if ((this.ClearBeforeFill == true)) { dataTable.Clear(); } int returnValue = this.Adapter.Fill(dataTable); return returnValue; }
public virtual int Fill(SchemaReader.EntitiesDataTable dataTable, bool includeTable, bool includeView, bool includeFK, string schmas) { this.Adapter.SelectCommand = this.CommandCollection[0]; this.Adapter.SelectCommand.Parameters[0].Value = ((bool)(includeTable)); this.Adapter.SelectCommand.Parameters[1].Value = ((bool)(includeView)); this.Adapter.SelectCommand.Parameters[2].Value = ((bool)(includeFK)); if ((schmas == null)) { throw new global::System.ArgumentNullException("schmas"); } else { this.Adapter.SelectCommand.Parameters[3].Value = ((string)(schmas)); } if ((this.ClearBeforeFill == true)) { dataTable.Clear(); } int returnValue = this.Adapter.Fill(dataTable); return returnValue; }