/// <summary> /// There are no comments for tblAdvertisementPackageSubscription in the schema. /// </summary> public void AddTotblAdvertisementPackageSubscription(tblAdvertisementPackageSubscription tblAdvertisementPackageSubscription) { base.AddObject("tblAdvertisementPackageSubscription", tblAdvertisementPackageSubscription); }
/// <summary> /// Create a new tblAdvertisementPackageSubscription object. /// </summary> /// <param name="aPSubscriptionID">Initial value of APSubscriptionID.</param> /// <param name="subscriberUserID">Initial value of SubscriberUserID.</param> /// <param name="adPackageID">Initial value of AdPackageID.</param> /// <param name="totalAdCount">Initial value of TotalAdCount.</param> /// <param name="usedCount">Initial value of UsedCount.</param> /// <param name="remainingCount">Initial value of RemainingCount.</param> /// <param name="enabledFlag">Initial value of EnabledFlag.</param> /// <param name="createdDate">Initial value of CreatedDate.</param> /// <param name="updatedDate">Initial value of UpdatedDate.</param> public static tblAdvertisementPackageSubscription CreatetblAdvertisementPackageSubscription(int aPSubscriptionID, int subscriberUserID, byte adPackageID, short totalAdCount, short usedCount, short remainingCount, bool enabledFlag, global::System.DateTime createdDate, global::System.DateTime updatedDate) { tblAdvertisementPackageSubscription tblAdvertisementPackageSubscription = new tblAdvertisementPackageSubscription(); tblAdvertisementPackageSubscription.APSubscriptionID = aPSubscriptionID; tblAdvertisementPackageSubscription.SubscriberUserID = subscriberUserID; tblAdvertisementPackageSubscription.AdPackageID = adPackageID; tblAdvertisementPackageSubscription.TotalAdCount = totalAdCount; tblAdvertisementPackageSubscription.UsedCount = usedCount; tblAdvertisementPackageSubscription.RemainingCount = remainingCount; tblAdvertisementPackageSubscription.EnabledFlag = enabledFlag; tblAdvertisementPackageSubscription.CreatedDate = createdDate; tblAdvertisementPackageSubscription.UpdatedDate = updatedDate; return tblAdvertisementPackageSubscription; }