コード例 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Parameters EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToParameters(Parameter parameter)
 {
     base.AddObject("Parameters", parameter);
 }
コード例 #2
0
 /// <summary>
 /// Create a new Parameter object.
 /// </summary>
 /// <param name="parameterID">Initial value of the ParameterID property.</param>
 /// <param name="unitGroupID">Initial value of the UnitGroupID property.</param>
 /// <param name="defaultUnitID">Initial value of the DefaultUnitID property.</param>
 /// <param name="defaultInterpolationTypeID">Initial value of the DefaultInterpolationTypeID property.</param>
 /// <param name="system">Initial value of the System property.</param>
 /// <param name="lastModified">Initial value of the LastModified property.</param>
 public static Parameter CreateParameter(global::System.String parameterID, global::System.String unitGroupID, global::System.String defaultUnitID, global::System.Int32 defaultInterpolationTypeID, global::System.Boolean system, global::System.DateTime lastModified)
 {
     Parameter parameter = new Parameter();
     parameter.ParameterID = parameterID;
     parameter.UnitGroupID = unitGroupID;
     parameter.DefaultUnitID = defaultUnitID;
     parameter.DefaultInterpolationTypeID = defaultInterpolationTypeID;
     parameter.System = system;
     parameter.LastModified = lastModified;
     return parameter;
 }