/// <summary> /// Deprecated Method for adding a new object to the my_aspnet_sessions EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTomy_aspnet_sessions(my_aspnet_sessions my_aspnet_sessions) { base.AddObject("my_aspnet_sessions", my_aspnet_sessions); }
/// <summary> /// Create a new my_aspnet_sessions object. /// </summary> /// <param name="sessionId">Initial value of the SessionId property.</param> /// <param name="applicationId">Initial value of the ApplicationId property.</param> /// <param name="created">Initial value of the Created property.</param> /// <param name="expires">Initial value of the Expires property.</param> /// <param name="lockDate">Initial value of the LockDate property.</param> /// <param name="lockId">Initial value of the LockId property.</param> /// <param name="timeout">Initial value of the Timeout property.</param> /// <param name="locked">Initial value of the Locked property.</param> /// <param name="flags">Initial value of the Flags property.</param> public static my_aspnet_sessions Createmy_aspnet_sessions(global::System.String sessionId, global::System.Int32 applicationId, global::System.DateTime created, global::System.DateTime expires, global::System.DateTime lockDate, global::System.Int32 lockId, global::System.Int32 timeout, global::System.Boolean locked, global::System.Int32 flags) { my_aspnet_sessions my_aspnet_sessions = new my_aspnet_sessions(); my_aspnet_sessions.SessionId = sessionId; my_aspnet_sessions.ApplicationId = applicationId; my_aspnet_sessions.Created = created; my_aspnet_sessions.Expires = expires; my_aspnet_sessions.LockDate = lockDate; my_aspnet_sessions.LockId = lockId; my_aspnet_sessions.Timeout = timeout; my_aspnet_sessions.Locked = locked; my_aspnet_sessions.Flags = flags; return my_aspnet_sessions; }