Ejemplo n.º 1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Torque EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToTorque(Torque torque)
 {
     base.AddObject("Torque", torque);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Create a new Torque object.
 /// </summary>
 /// <param name="torqueId">Initial value of the TorqueId property.</param>
 /// <param name="serialNumber">Initial value of the SerialNumber property.</param>
 public static Torque CreateTorque(global::System.Int32 torqueId, global::System.String serialNumber)
 {
     Torque torque = new Torque();
     torque.TorqueId = torqueId;
     torque.SerialNumber = serialNumber;
     return torque;
 }