/// <summary> /// Create a new DataValue object. /// </summary> /// <param name="valueID">Initial value of the ValueID property.</param> /// <param name="dataValue1">Initial value of the DataValue1 property.</param> /// <param name="localDateTime">Initial value of the LocalDateTime property.</param> /// <param name="uTCOffset">Initial value of the UTCOffset property.</param> /// <param name="dateTimeUTC">Initial value of the DateTimeUTC property.</param> /// <param name="siteID">Initial value of the SiteID property.</param> /// <param name="variableID">Initial value of the VariableID property.</param> /// <param name="censorCode">Initial value of the CensorCode property.</param> /// <param name="methodID">Initial value of the MethodID property.</param> /// <param name="sourceID">Initial value of the SourceID property.</param> /// <param name="qualityControlLevelID">Initial value of the QualityControlLevelID property.</param> public static DataValue CreateDataValue(global::System.Int32 valueID, global::System.Double dataValue1, global::System.DateTime localDateTime, global::System.Double uTCOffset, global::System.DateTime dateTimeUTC, global::System.Int32 siteID, global::System.Int32 variableID, global::System.String censorCode, global::System.Int32 methodID, global::System.Int32 sourceID, global::System.Int32 qualityControlLevelID) { DataValue dataValue = new DataValue(); dataValue.ValueID = valueID; dataValue.DataValue1 = dataValue1; dataValue.LocalDateTime = localDateTime; dataValue.UTCOffset = uTCOffset; dataValue.DateTimeUTC = dateTimeUTC; dataValue.SiteID = siteID; dataValue.VariableID = variableID; dataValue.CensorCode = censorCode; dataValue.MethodID = methodID; dataValue.SourceID = sourceID; dataValue.QualityControlLevelID = qualityControlLevelID; return dataValue; }
/// <summary> /// Deprecated Method for adding a new object to the DataValues EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToDataValues(DataValue dataValue) { base.AddObject("DataValues", dataValue); }