/// <summary> /// Deprecated Method for adding a new object to the Torque EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToTorque(Torque torque) { base.AddObject("Torque", torque); }
/// <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; }