public DataValuesRow AddDataValuesRow( int SiteID, int VariableID, double OffsetValue, OffsetTypesRow parentOffsetTypesRowByValues_OffsetTypes, string CensorCode, QualifiersRow parentQualifiersRowByFK_Values_Qualifiers, MethodsRow parentMethodsRowByFK_Values_Methods, SourcesRow parentSourcesRowByFK_Values_Sources, SamplesRow parentSamplesRowByValues_Samples, int DerivedFromID, QualityControlLevelsRow parentQualityControlLevelsRowByFK_Values_QualityControlLevelDefinitions, double Value, double AccuracyStdDev, System.DateTime DateTime, System.DateTime DateTimeUTC, double UTCOffset) { DataValuesRow rowDataValuesRow = ((DataValuesRow)(this.NewRow())); object[] columnValuesArray = new object[] { null, SiteID, VariableID, OffsetValue, null, CensorCode, null, null, null, null, DerivedFromID, null, Value, AccuracyStdDev, DateTime, DateTimeUTC, UTCOffset}; if ((parentOffsetTypesRowByValues_OffsetTypes != null)) { columnValuesArray[4] = parentOffsetTypesRowByValues_OffsetTypes[0]; } if ((parentQualifiersRowByFK_Values_Qualifiers != null)) { columnValuesArray[6] = parentQualifiersRowByFK_Values_Qualifiers[0]; } if ((parentMethodsRowByFK_Values_Methods != null)) { columnValuesArray[7] = parentMethodsRowByFK_Values_Methods[0]; } if ((parentSourcesRowByFK_Values_Sources != null)) { columnValuesArray[8] = parentSourcesRowByFK_Values_Sources[0]; } if ((parentSamplesRowByValues_Samples != null)) { columnValuesArray[9] = parentSamplesRowByValues_Samples[0]; } if ((parentQualityControlLevelsRowByFK_Values_QualityControlLevelDefinitions != null)) { columnValuesArray[11] = parentQualityControlLevelsRowByFK_Values_QualityControlLevelDefinitions[0]; } rowDataValuesRow.ItemArray = columnValuesArray; this.Rows.Add(rowDataValuesRow); return rowDataValuesRow; }
public void RemoveMethodsRow(MethodsRow row) { this.Rows.Remove(row); }
public MethodsRowChangeEvent(MethodsRow row, global::System.Data.DataRowAction action) { this.eventRow = row; this.eventAction = action; }
public void AddMethodsRow(MethodsRow row) { this.Rows.Add(row); }