/// <summary> /// Deprecated Method for adding a new object to the DBSubscriptions EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToDBSubscriptions(DBSubscription dBSubscription) { base.AddObject("DBSubscriptions", dBSubscription); }
/// <summary> /// Create a new DBSubscription object. /// </summary> /// <param name="subscription_id">Initial value of the subscription_id property.</param> /// <param name="client_id">Initial value of the client_id property.</param> /// <param name="maximum_allowable_connections">Initial value of the maximum_allowable_connections property.</param> /// <param name="nmea_feed_id">Initial value of the nmea_feed_id property.</param> /// <param name="active">Initial value of the active property.</param> public static DBSubscription CreateDBSubscription(global::System.Int32 subscription_id, global::System.Int32 client_id, global::System.Int32 maximum_allowable_connections, global::System.Int32 nmea_feed_id, global::System.Boolean active) { DBSubscription dBSubscription = new DBSubscription(); dBSubscription.subscription_id = subscription_id; dBSubscription.client_id = client_id; dBSubscription.maximum_allowable_connections = maximum_allowable_connections; dBSubscription.nmea_feed_id = nmea_feed_id; dBSubscription.active = active; return dBSubscription; }