/// <summary>
 /// Deprecated Method for adding a new object to the Variables EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToVariables(Variable variable)
 {
     base.AddObject("Variables", variable);
 }
 /// <summary>
 /// Create a new Variable object.
 /// </summary>
 /// <param name="variableID">Initial value of the VariableID property.</param>
 /// <param name="variableCode">Initial value of the VariableCode property.</param>
 /// <param name="variableName">Initial value of the VariableName property.</param>
 /// <param name="speciation">Initial value of the Speciation property.</param>
 /// <param name="variableUnitsID">Initial value of the VariableUnitsID property.</param>
 /// <param name="sampleMedium">Initial value of the SampleMedium property.</param>
 /// <param name="valueType">Initial value of the ValueType property.</param>
 /// <param name="isRegular">Initial value of the IsRegular property.</param>
 /// <param name="timeSupport">Initial value of the TimeSupport property.</param>
 /// <param name="timeUnitsID">Initial value of the TimeUnitsID property.</param>
 /// <param name="dataType">Initial value of the DataType property.</param>
 /// <param name="generalCategory">Initial value of the GeneralCategory property.</param>
 /// <param name="noDataValue">Initial value of the NoDataValue property.</param>
 public static Variable CreateVariable(global::System.Int32 variableID, global::System.String variableCode, global::System.String variableName, global::System.String speciation, global::System.Int32 variableUnitsID, global::System.String sampleMedium, global::System.String valueType, global::System.Boolean isRegular, global::System.Double timeSupport, global::System.Int32 timeUnitsID, global::System.String dataType, global::System.String generalCategory, global::System.Double noDataValue)
 {
     Variable variable = new Variable();
     variable.VariableID = variableID;
     variable.VariableCode = variableCode;
     variable.VariableName = variableName;
     variable.Speciation = speciation;
     variable.VariableUnitsID = variableUnitsID;
     variable.SampleMedium = sampleMedium;
     variable.ValueType = valueType;
     variable.IsRegular = isRegular;
     variable.TimeSupport = timeSupport;
     variable.TimeUnitsID = timeUnitsID;
     variable.DataType = dataType;
     variable.GeneralCategory = generalCategory;
     variable.NoDataValue = noDataValue;
     return variable;
 }