Пример #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="id">Initial value of the Id property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 /// <param name="value">Initial value of the Value property.</param>
 /// <param name="active">Initial value of the Active property.</param>
 /// <param name="insertedDate">Initial value of the InsertedDate property.</param>
 public static Parameter CreateParameter(global::System.Int32 id, global::System.String name, global::System.String value, global::System.String active, global::System.DateTime insertedDate)
 {
     Parameter parameter = new Parameter();
     parameter.Id = id;
     parameter.Name = name;
     parameter.Value = value;
     parameter.Active = active;
     parameter.InsertedDate = insertedDate;
     return parameter;
 }