Interface IEntityContextFactory

    • Method Detail

      • newEntityContext

        IEntityContext newEntityContext​(IUser user)
        Creates a new IEntityContext for the given user.
        Parameters:
        user - The user for whom the context is created. If the user is null, uses an anonymous user context.
        Returns:
        A new instance of IEntityContext associated with the specified user.
      • newEntityContext

        IEntityContext newEntityContext​(UserContext userContext)
        Creates a new IEntityContext for the given user.
        Parameters:
        userContext - The user for whom the context is created. If the user is null, uses an anonymous user context.
        Returns:
        A new instance of IEntityContext associated with the specified user.