We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
You may start your database with sample data such as the list of departments, categories of products, types of emplyees etc.
To seed your database, insert data in /Migrations/Configurations.cs/Seed() methods.
Seeding the users and roles has to be done through the usermanager and role manager (see admin example).
The method AddOrUpdate() is used in case the data already exists, so it will be updated.
AddOrUpdate method rules:
There was an error while loading. Please reload this page.