/// <summary> /// Deprecated Method for adding a new object to the Tv_ProductDeny EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToTv_ProductDeny(Tv_ProductDeny tv_ProductDeny) { base.AddObject("Tv_ProductDeny", tv_ProductDeny); }
/// <summary> /// Create a new Tv_ProductDeny object. /// </summary> /// <param name="productDenyId">Initial value of the ProductDenyId property.</param> /// <param name="id">Initial value of the ID property.</param> /// <param name="newID">Initial value of the NewID 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_ProductDeny CreateTv_ProductDeny(global::System.Int64 productDenyId, global::System.Int64 id, global::System.Int64 newID, global::System.Int32 updatedBy, global::System.DateTime updatedDate) { Tv_ProductDeny tv_ProductDeny = new Tv_ProductDeny(); tv_ProductDeny.ProductDenyId = productDenyId; tv_ProductDeny.ID = id; tv_ProductDeny.NewID = newID; tv_ProductDeny.UpdatedBy = updatedBy; tv_ProductDeny.UpdatedDate = updatedDate; return tv_ProductDeny; }