Closed Cricle closed 2 years ago
Like given interface
public interface IDynamicRoleProvider
{
DbSet<DynamicRole> DynamicRoles{get;}
}
And inject in service to use.
It is possible, by adding DbSet<RoleAccess>
manually or by inheriting DynamicAuthDbContenct
that has the DbSet (maybe with some more extra helpers).
Thanks. I like this project very much!
Can it export a model given user write in DbContext like DbSet, and use DbContext to access data.
This will probably be
Migrations
,Custom
,Controlable
,Scalable
.