/// <summary> /// Deprecated Method for adding a new object to the DBCurrentConnections EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToDBCurrentConnections(DBCurrentConnection dBCurrentConnection) { base.AddObject("DBCurrentConnections", dBCurrentConnection); }
/// <summary> /// Create a new DBCurrentConnection object. /// </summary> /// <param name="connection_Id">Initial value of the connection_Id property.</param> /// <param name="subscription_id">Initial value of the subscription_id property.</param> /// <param name="connection_ip_address">Initial value of the connection_ip_address property.</param> /// <param name="connection_start_datetime">Initial value of the connection_start_datetime property.</param> /// <param name="connection_last_datetime">Initial value of the connection_last_datetime property.</param> public static DBCurrentConnection CreateDBCurrentConnection(global::System.Int32 connection_Id, global::System.Int32 subscription_id, global::System.String connection_ip_address, global::System.DateTime connection_start_datetime, global::System.DateTime connection_last_datetime) { DBCurrentConnection dBCurrentConnection = new DBCurrentConnection(); dBCurrentConnection.connection_Id = connection_Id; dBCurrentConnection.subscription_id = subscription_id; dBCurrentConnection.connection_ip_address = connection_ip_address; dBCurrentConnection.connection_start_datetime = connection_start_datetime; dBCurrentConnection.connection_last_datetime = connection_last_datetime; return dBCurrentConnection; }