Show / Hide Table of Contents

Class UserAccessSeeder

This class seeds the DB with data related to the user access model. Requires the key "SeedDB": true in appsettings. To prevent concurrency issues, it is recommended that WM databases, with multiple WMServer instances running only has a single instance with "SeedDB": true.

Inheritance
object
UserAccessSeeder
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Quantellia.WMServer.Database
Assembly: WMServer.dll
Syntax
public class UserAccessSeeder

Constructors

UserAccessSeeder(AuthDbContext)

Standard constructor.

Declaration
public UserAccessSeeder(AuthDbContext context)
Parameters
Type Name Description
AuthDbContext context

Methods

Seed()

Ensure that the database contains all static resources and operations.
Ensure that each organization contains all static roles. Ensure that each static role possesses all default permissions.

Declaration
public Task Seed()
Returns
Type Description
Task
In this article
Back to top Copyright © 2025 Quantellia LLC.    Version 2.0.0 Revision 399     Last Updated 11/16/2025    DRAFT DOCUMENTATION. SUBJECT TO CHANGE