E
E
evkaky2016-03-31 18:22:58
.NET
evkaky, 2016-03-31 18:22:58

Entity framework database first without ms sql and visual studio?

There is a database, I want to quickly generate a context for it. What would a couple of clicks, and I have at hand db.Persons, db.Categories and so on.
The manuals and tutorials on the entity framework deal with working with ms sql and in visual studio (which is not surprising). But I haven't been able to find any answers yet. questions:
1) is it possible to use the database first approach with a database that is NOT MS SQL? For example with Postgres?
2) is it possible to use database first WITHOUT visual studio?
3) is database first possible WITHOUT edmx? I just want to quickly get my context on the existing database. With a minimum of intermediate layers in the form of xml sheets (ala edmx), with a minimum of visual studio graphic designers.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Roman, 2016-04-01
@yarosroman

1. Yes - https://www.nuget.org/packages/Npgsql.EntityFramework/
2. Difficult but possible
3. Use Code-First from database.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question