Answered by:
.Net Framework with Other database system

Question
-
User1039234974 posted
Hello colleagues
I would like to know
if we use the following database systems in .Net Framework development (ASP.Net Web App, MVC, API) ?
- MySQL
- PostgreSQL
- MariaDB
Are these database system compatible with .Net Framework development, like SQL Sever?
and are they supporting Entity Framework features ?
I want to see some references.
Thanks
Friday, August 7, 2020 2:46 AM
Answers
-
User-821857111 posted
There are providers for all three database systems that you mentioned. For more information on available providers, check the docs: https://docs.microsoft.com/en-us/ef/core/providers/?tabs=dotnet-core-cli
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Friday, August 7, 2020 6:26 AM -
User197322208 posted
Entity Framework is compatible with many Databases.
Now, there are 2 flavors: EF 6 ( .NET Framework ) and EF Core . I do not knw what you use - but I advise EF Core.
You can find here the provider list: https://docs.microsoft.com/en-us/ef/core/providers/?tabs=dotnet-core-cli
What I suggest is to have a DataAccessLayer project that takes care of the data . And handles the small differences in syntax.
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Friday, August 7, 2020 8:40 AM
All replies
-
User-821857111 posted
There are providers for all three database systems that you mentioned. For more information on available providers, check the docs: https://docs.microsoft.com/en-us/ef/core/providers/?tabs=dotnet-core-cli
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Friday, August 7, 2020 6:26 AM -
User1039234974 posted
Thanks for reply: @Mikesdotnetting
Thanks for link ref:
According to your link, EF core support many database providers including providers that I mentioned.
But I am using EF6. EF6 support less database providers , I think. refering to below link.
https://docs.microsoft.com/en-us/ef/ef6/fundamentals/providers/
Friday, August 7, 2020 7:48 AM -
User197322208 posted
Entity Framework is compatible with many Databases.
Now, there are 2 flavors: EF 6 ( .NET Framework ) and EF Core . I do not knw what you use - but I advise EF Core.
You can find here the provider list: https://docs.microsoft.com/en-us/ef/core/providers/?tabs=dotnet-core-cli
What I suggest is to have a DataAccessLayer project that takes care of the data . And handles the small differences in syntax.
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Friday, August 7, 2020 8:40 AM -
User-821857111 posted
It's always worth mentioning the version you want help with. New applications should use .NET Core.
Friday, August 7, 2020 8:54 AM