/// <summary> /// Create a new Tv_ReplacedParts object. /// </summary> /// <param name="replacedPartsID">Initial value of the ReplacedPartsID property.</param> /// <param name="sparePartsUnAvailableId">Initial value of the SparePartsUnAvailableId property.</param> /// <param name="oracode">Initial value of the Oracode property.</param> /// <param name="replaceUserId">Initial value of the ReplaceUserId property.</param> /// <param name="replaceDate">Initial value of the ReplaceDate 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_ReplacedParts CreateTv_ReplacedParts(global::System.Int64 replacedPartsID, global::System.Int64 sparePartsUnAvailableId, global::System.String oracode, global::System.Int32 replaceUserId, global::System.DateTime replaceDate, global::System.Int32 updatedBy, global::System.DateTime updatedDate) { Tv_ReplacedParts tv_ReplacedParts = new Tv_ReplacedParts(); tv_ReplacedParts.ReplacedPartsID = replacedPartsID; tv_ReplacedParts.SparePartsUnAvailableId = sparePartsUnAvailableId; tv_ReplacedParts.Oracode = oracode; tv_ReplacedParts.ReplaceUserId = replaceUserId; tv_ReplacedParts.ReplaceDate = replaceDate; tv_ReplacedParts.UpdatedBy = updatedBy; tv_ReplacedParts.UpdatedDate = updatedDate; return tv_ReplacedParts; }
/// <summary> /// Deprecated Method for adding a new object to the Tv_ReplacedParts EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToTv_ReplacedParts(Tv_ReplacedParts tv_ReplacedParts) { base.AddObject("Tv_ReplacedParts", tv_ReplacedParts); }