Пример #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the PurchaseRequests EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToPurchaseRequests(PurchaseRequest purchaseRequest)
 {
     base.AddObject("PurchaseRequests", purchaseRequest);
 }
Пример #2
0
 /// <summary>
 /// Create a new PurchaseRequest object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="pRNo">Initial value of the PRNo property.</param>
 /// <param name="requestedBy">Initial value of the RequestedBy property.</param>
 /// <param name="isPoReady">Initial value of the IsPoReady property.</param>
 /// <param name="isQuoted">Initial value of the IsQuoted property.</param>
 /// <param name="isFinished">Initial value of the IsFinished property.</param>
 /// <param name="isCanvased">Initial value of the IsCanvased property.</param>
 /// <param name="dateRequired">Initial value of the DateRequired property.</param>
 public static PurchaseRequest CreatePurchaseRequest(global::System.Guid id, global::System.Int32 pRNo, global::System.Guid requestedBy, global::System.Boolean isPoReady, global::System.Boolean isQuoted, global::System.Boolean isFinished, global::System.Boolean isCanvased, global::System.DateTime dateRequired)
 {
     PurchaseRequest purchaseRequest = new PurchaseRequest();
     purchaseRequest.Id = id;
     purchaseRequest.PRNo = pRNo;
     purchaseRequest.RequestedBy = requestedBy;
     purchaseRequest.IsPoReady = isPoReady;
     purchaseRequest.IsQuoted = isQuoted;
     purchaseRequest.IsFinished = isFinished;
     purchaseRequest.IsCanvased = isCanvased;
     purchaseRequest.DateRequired = dateRequired;
     return purchaseRequest;
 }