public DataValuesRow AddDataValuesRow( int SiteID, int VariableID, double OffsetValue, OffsetTypesRow parentOffsetTypesRowByValues_OffsetTypes, CensorCodeCVRow parentCensorCodeCVRowByFK_DataValues_CensorCodeCV, 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, null, null, null, null, null, DerivedFromID, null, Value, AccuracyStdDev, DateTime, DateTimeUTC, UTCOffset}; if ((parentOffsetTypesRowByValues_OffsetTypes != null)) { columnValuesArray[4] = parentOffsetTypesRowByValues_OffsetTypes[0]; } if ((parentCensorCodeCVRowByFK_DataValues_CensorCodeCV != null)) { columnValuesArray[5] = parentCensorCodeCVRowByFK_DataValues_CensorCodeCV[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 RemoveCensorCodeCVRow(CensorCodeCVRow row) { this.Rows.Remove(row); }
public CensorCodeCVRowChangeEvent(CensorCodeCVRow row, global::System.Data.DataRowAction action) { this.eventRow = row; this.eventAction = action; }
public void AddCensorCodeCVRow(CensorCodeCVRow row) { this.Rows.Add(row); }