/// <summary> /// Save in the LogSessions table /// </summary> /// <param name="userName"></param> /// <param name="password"></param> public static void SaveLogIn(string userId) { UsersAutDataContext context = new UsersAutDataContext(); LogSession ses = new LogSession(); ses.SessionDate = DateTime.Now; ses.UserId = userId; context.LogSessions.InsertOnSubmit(ses); context.SubmitChanges(); }
partial void DeleteLogSession(LogSession instance);
partial void UpdateLogSession(LogSession instance);
partial void InsertLogSession(LogSession instance);