/// <summary> /// Deprecated Method for adding a new object to the Subscriptions EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToSubscriptions(DBSubscription dBSubscription) { base.AddObject("Subscriptions", dBSubscription); }
/// <summary> /// Create a new DBSubscription object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="subscriberId">Initial value of the SubscriberId property.</param> /// <param name="type">Initial value of the Type property.</param> /// <param name="totalBought">Initial value of the TotalBought property.</param> /// <param name="lengthSkipped">Initial value of the LengthSkipped property.</param> /// <param name="pausedStart">Initial value of the PausedStart property.</param> public static DBSubscription CreateDBSubscription(global::System.Int32 id, global::System.Int32 subscriberId, global::System.String type, global::System.Int32 totalBought, global::System.Int32 lengthSkipped, global::System.Int32 pausedStart) { DBSubscription dBSubscription = new DBSubscription(); dBSubscription.Id = id; dBSubscription.SubscriberId = subscriberId; dBSubscription.Type = type; dBSubscription.TotalBought = totalBought; dBSubscription.LengthSkipped = lengthSkipped; dBSubscription.PausedStart = pausedStart; return dBSubscription; }