/// <summary> /// Deprecated Method for adding a new object to the ASPStateTempSessions EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToASPStateTempSessions(ASPStateTempSessions aSPStateTempSessions) { base.AddObject("ASPStateTempSessions", aSPStateTempSessions); }
/// <summary> /// Create a new ASPStateTempSessions object. /// </summary> /// <param name="sessionId">Initial value of the SessionId 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="lockDateLocal">Initial value of the LockDateLocal property.</param> /// <param name="lockCookie">Initial value of the LockCookie 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 ASPStateTempSessions CreateASPStateTempSessions(global::System.String sessionId, global::System.DateTime created, global::System.DateTime expires, global::System.DateTime lockDate, global::System.DateTime lockDateLocal, global::System.Int32 lockCookie, global::System.Int32 timeout, global::System.Boolean locked, global::System.Int32 flags) { ASPStateTempSessions aSPStateTempSessions = new ASPStateTempSessions(); aSPStateTempSessions.SessionId = sessionId; aSPStateTempSessions.Created = created; aSPStateTempSessions.Expires = expires; aSPStateTempSessions.LockDate = lockDate; aSPStateTempSessions.LockDateLocal = lockDateLocal; aSPStateTempSessions.LockCookie = lockCookie; aSPStateTempSessions.Timeout = timeout; aSPStateTempSessions.Locked = locked; aSPStateTempSessions.Flags = flags; return aSPStateTempSessions; }