/// <summary> /// Create a new Transfer object. /// </summary> /// <param name="id">Initial value of the ID property.</param> /// <param name="orderID">Initial value of the OrderID property.</param> /// <param name="fromStoreID">Initial value of the FromStoreID property.</param> /// <param name="fromPhysicalStoreID">Initial value of the FromPhysicalStoreID property.</param> public static Transfer CreateTransfer(global::System.Int32 id, global::System.Int32 orderID, global::System.Int32 fromStoreID, global::System.Int32 fromPhysicalStoreID) { Transfer transfer = new Transfer(); transfer.ID = id; transfer.OrderID = orderID; transfer.FromStoreID = fromStoreID; transfer.FromPhysicalStoreID = fromPhysicalStoreID; return transfer; }
/// <summary> /// Deprecated Method for adding a new object to the Transfers EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToTransfers(Transfer transfer) { base.AddObject("Transfers", transfer); }