Open Closed

Repository Advice #1208


0
tjackadams created

Hello,

just looking for some advice/points on the database context/repositories.

Abp is setup and working fine with a MSSQL database.

We are looking to start querying and updating another database which is MySql. Now this database is already populated with tables and information and its not feasible to change the schema.

I've created the code first classes and setup and new dbcontext.

My question is, is it possible to use the repositories somehow? My code first classes are not inheriting from type Entity, as this would cause a database migration.

Is there another class/interface i can inherit from to still use the repositories?

Any help is appreciated. Thanks


1 Answer(s)
  • 0
    hikalkan created

    Hi,

    You can directly implement IEntity