/// <summary> /// Deprecated Method for adding a new object to the LogSessions EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToLogSessions(LogSession logSession) { base.AddObject("LogSessions", logSession); }
/// <summary> /// Create a new LogSession object. /// </summary> /// <param name="logID">Initial value of the LogID property.</param> /// <param name="sessionID">Initial value of the SessionID property.</param> public static LogSession CreateLogSession(global::System.Int32 logID, global::System.Guid sessionID) { LogSession logSession = new LogSession(); logSession.LogID = logID; logSession.SessionID = sessionID; return logSession; }