entity framework - Error using DbContextBaseClass in EntityFramework Reverse POCO Code First Generator -


error when using dbcontextbaseclass not implement constructor,is there documentation,example or demo on how use dbcontextbaseclass in template setting make asp.net identity works ?

i used guide in comment:

dbcontextbaseclass = "dbcontext";   // specify base class dbcontext. asp.net identity use "identitydbcontext<applicationuser>" 

but end 2 compile errors :

1- type or namespace name 'identitydbcontext' not found (are missing using directive or assembly reference?)

2- type or namespace name 'applicationuser' not found (are missing using directive or assembly reference?)

apparently else having same issue : link here

as asp.net identity includes entity framework code within project, there no need reverse engineer it.

i instead use reverse poco generator reverse engineer own tables, , add filter exclude asp.net identity tables alone.

tablefilterexclude = new regex("^__migrationhistory$|^aspnetroles$|^aspnetuserclaims$|^aspnetuserlogins$|^aspnetuserroles$|^aspnetusers$"); 

Comments

Popular posts from this blog

java - Spring Data JPA: Why findOne(id) executing delete query internally? -

python - Mongodb How to add addtional information when aggregating? -

java - Incorrect order of records in M-M relationship in hibernate -