/// <summary> /// Create a new tbl_Products object. /// </summary> /// <param name="productID">Initial value of the ProductID property.</param> /// <param name="p_Live">Initial value of the P_Live property.</param> /// <param name="p_Deleted">Initial value of the P_Deleted property.</param> /// <param name="p_LastModifiedDate">Initial value of the P_LastModifiedDate property.</param> /// <param name="p_StockControl">Initial value of the P_StockControl property.</param> /// <param name="p_ProductTypeID">Initial value of the P_ProductTypeID property.</param> /// <param name="p_Download">Initial value of the P_Download property.</param> /// <param name="p_Deliverable">Initial value of the P_Deliverable property.</param> /// <param name="p_CanPurchase">Initial value of the P_CanPurchase property.</param> /// <param name="p_Featured">Initial value of the P_Featured property.</param> /// <param name="p_BookableEvent">Initial value of the P_BookableEvent property.</param> public static tbl_Products Createtbl_Products(global::System.Int32 productID, global::System.Boolean p_Live, global::System.Boolean p_Deleted, global::System.DateTime p_LastModifiedDate, global::System.Boolean p_StockControl, global::System.Int32 p_ProductTypeID, global::System.Boolean p_Download, global::System.Boolean p_Deliverable, global::System.Boolean p_CanPurchase, global::System.Boolean p_Featured, global::System.Boolean p_BookableEvent) { tbl_Products tbl_Products = new tbl_Products(); tbl_Products.ProductID = productID; tbl_Products.P_Live = p_Live; tbl_Products.P_Deleted = p_Deleted; tbl_Products.P_LastModifiedDate = p_LastModifiedDate; tbl_Products.P_StockControl = p_StockControl; tbl_Products.P_ProductTypeID = p_ProductTypeID; tbl_Products.P_Download = p_Download; tbl_Products.P_Deliverable = p_Deliverable; tbl_Products.P_CanPurchase = p_CanPurchase; tbl_Products.P_Featured = p_Featured; tbl_Products.P_BookableEvent = p_BookableEvent; return tbl_Products; }
/// <summary> /// Deprecated Method for adding a new object to the tbl_Products EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTotbl_Products(tbl_Products tbl_Products) { base.AddObject("tbl_Products", tbl_Products); }