/// <summary> /// Deprecated Method for adding a new object to the UsersLogs EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToUsersLogs(UsersLog usersLog) { base.AddObject("UsersLogs", usersLog); }
/// <summary> /// Create a new UsersLog object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="date">Initial value of the Date property.</param> /// <param name="userId">Initial value of the UserId property.</param> /// <param name="text">Initial value of the Text property.</param> public static UsersLog CreateUsersLog(global::System.Int32 id, global::System.DateTime date, global::System.Int32 userId, global::System.String text) { UsersLog usersLog = new UsersLog(); usersLog.Id = id; usersLog.Date = date; usersLog.UserId = userId; usersLog.Text = text; return usersLog; }