예제 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the MasterOrders EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToMasterOrders(MasterOrder masterOrder)
 {
     base.AddObject("MasterOrders", masterOrder);
 }
예제 #2
0
 /// <summary>
 /// Create a new MasterOrder object.
 /// </summary>
 /// <param name="masterOrderId">Initial value of the MasterOrderId property.</param>
 /// <param name="receivingEntityId">Initial value of the ReceivingEntityId property.</param>
 /// <param name="creatingEntityId">Initial value of the CreatingEntityId property.</param>
 /// <param name="createDateTime">Initial value of the CreateDateTime property.</param>
 public static MasterOrder CreateMasterOrder(global::System.Int32 masterOrderId, global::System.Int32 receivingEntityId, global::System.Int32 creatingEntityId, global::System.DateTime createDateTime)
 {
     MasterOrder masterOrder = new MasterOrder();
     masterOrder.MasterOrderId = masterOrderId;
     masterOrder.ReceivingEntityId = receivingEntityId;
     masterOrder.CreatingEntityId = creatingEntityId;
     masterOrder.CreateDateTime = createDateTime;
     return masterOrder;
 }