Click here to Skip to main content
15,916,042 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
As far as I know, the MVC affects the database when we use ORMs. Also, my database has columns that need not to use in Model and I'd like not to change from programming. So, is there any way for database and MVC to be independent or at least the removal/drop operation does not occur on the database?

What I have tried:

Nothing.
Posted
Updated 2-Mar-18 7:12am
v2

1 solution

If you don't want the ORM to update/insert/delete, simply don't use the methods that do those things, and call your own ADO stuff instead.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900