/// <summary> /// Create a new PO_PurchaseOrder object. /// </summary> /// <param name="id">Initial value of the ID property.</param> /// <param name="purchaseOrderID">Initial value of the PurchaseOrderID property.</param> /// <param name="active">Initial value of the Active property.</param> /// <param name="contactMobile">Initial value of the ContactMobile property.</param> /// <param name="createTime">Initial value of the CreateTime property.</param> /// <param name="modifyTime">Initial value of the ModifyTime property.</param> public static PO_PurchaseOrder CreatePO_PurchaseOrder(global::System.Int32 id, global::System.Int32 purchaseOrderID, global::System.String active, global::System.String contactMobile, global::System.DateTime createTime, global::System.DateTime modifyTime) { PO_PurchaseOrder pO_PurchaseOrder = new PO_PurchaseOrder(); pO_PurchaseOrder.ID = id; pO_PurchaseOrder.PurchaseOrderID = purchaseOrderID; pO_PurchaseOrder.Active = active; pO_PurchaseOrder.ContactMobile = contactMobile; pO_PurchaseOrder.CreateTime = createTime; pO_PurchaseOrder.ModifyTime = modifyTime; return pO_PurchaseOrder; }
/// <summary> /// Deprecated Method for adding a new object to the PO_PurchaseOrder EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToPO_PurchaseOrder(PO_PurchaseOrder pO_PurchaseOrder) { base.AddObject("PO_PurchaseOrder", pO_PurchaseOrder); }