Open Closed

Static Data #8734


0
ramilcatalandomingo created

Hello ANZ Team,

I would like to seek guidance if there is a common approach in creating static data like in the Roles management. I would like to implement the same thing to my other entities and was wondering if there are built-in functions already that I can inherit from or do you have some sort of documentation that I can follow?

Thank you!


2 Answer(s)
  • 0
    ismcagdas created

    Hi @ramilcatalandomingo

    Unfortunately, there is no built-in feature. You can take a look at StaticRole definition and its usage in https://github.com/aspnetboilerplate/aspnetboilerplate and implement something similar.

  • 0
    ramilcatalandomingo created

    Understood. Thank you @ismcagdas