Пример #1
0
 /// <summary>
 /// Create a new Tv_SparePartsRequision object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="productServiceId">Initial value of the ProductServiceId property.</param>
 /// <param name="technicianId">Initial value of the TechnicianId property.</param>
 /// <param name="servicePointID">Initial value of the ServicePointID property.</param>
 /// <param name="requestDate">Initial value of the RequestDate property.</param>
 /// <param name="itemID">Initial value of the ItemID property.</param>
 /// <param name="oracode">Initial value of the Oracode property.</param>
 /// <param name="sparePartName">Initial value of the SparePartName property.</param>
 /// <param name="spareUnitPrice">Initial value of the SpareUnitPrice property.</param>
 /// <param name="sparePartsRequisionStatus">Initial value of the SparePartsRequisionStatus property.</param>
 /// <param name="updatedBy">Initial value of the UpdatedBy property.</param>
 /// <param name="updatedDate">Initial value of the UpdatedDate property.</param>
 public static Tv_SparePartsRequision CreateTv_SparePartsRequision(global::System.Int64 id, global::System.Int64 productServiceId, global::System.Int32 technicianId, global::System.Int32 servicePointID, global::System.DateTime requestDate, global::System.Int64 itemID, global::System.String oracode, global::System.String sparePartName, global::System.Decimal spareUnitPrice, global::System.String sparePartsRequisionStatus, global::System.Int32 updatedBy, global::System.DateTime updatedDate)
 {
     Tv_SparePartsRequision tv_SparePartsRequision = new Tv_SparePartsRequision();
     tv_SparePartsRequision.Id = id;
     tv_SparePartsRequision.ProductServiceId = productServiceId;
     tv_SparePartsRequision.TechnicianId = technicianId;
     tv_SparePartsRequision.ServicePointID = servicePointID;
     tv_SparePartsRequision.RequestDate = requestDate;
     tv_SparePartsRequision.ItemID = itemID;
     tv_SparePartsRequision.Oracode = oracode;
     tv_SparePartsRequision.SparePartName = sparePartName;
     tv_SparePartsRequision.SpareUnitPrice = spareUnitPrice;
     tv_SparePartsRequision.SparePartsRequisionStatus = sparePartsRequisionStatus;
     tv_SparePartsRequision.UpdatedBy = updatedBy;
     tv_SparePartsRequision.UpdatedDate = updatedDate;
     return tv_SparePartsRequision;
 }
Пример #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Tv_SparePartsRequision EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToTv_SparePartsRequision(Tv_SparePartsRequision tv_SparePartsRequision)
 {
     base.AddObject("Tv_SparePartsRequision", tv_SparePartsRequision);
 }