PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Thursday, April 14, 2022

[FIXED] How can we use RepoDB with code first approach?

 April 14, 2022     asp.net-core, code-first, ef-code-first, migration, orm     No comments   

Issue

If we want to create an Asp.Net Core project with code first approach and using RepoDB, how can we manage the operations such as migrations? Do we need an additional ORM like EF, EF Core?

Thanks.


Solution

As RepoDb does not support code first migration, it is highly recommended to use EF for your scenario. Or, you can also use some migration tools to manage your DB migration (ie: Evolve, Fluent Migrator, etc) and use RepoDb as your ORM.



Answered By - Mike
Answer Checked By - Pedro (PHPFixing Volunteer)
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing