コード例 #1
0
 /// <summary>
 /// Create a new Variable object.
 /// </summary>
 /// <param name="variable1">Initial value of the Variable1 property.</param>
 /// <param name="presText">Initial value of the PresText property.</param>
 /// <param name="footnote">Initial value of the Footnote property.</param>
 /// <param name="userId">Initial value of the UserId property.</param>
 /// <param name="logDate">Initial value of the LogDate property.</param>
 public static Variable CreateVariable(global::System.String variable1, global::System.String presText, global::System.String footnote, global::System.String userId, global::System.DateTime logDate)
 {
     Variable variable = new Variable();
     variable.Variable1 = variable1;
     variable.PresText = presText;
     variable.Footnote = footnote;
     variable.UserId = userId;
     variable.LogDate = logDate;
     return variable;
 }
コード例 #2
0
 /// <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);
 }