D
D
Denis Mashanov2018-02-06 14:40:53
SQL
Denis Mashanov, 2018-02-06 14:40:53

Is it possible to generate tables in the database or a query based on the model?

Good afternoon. It seems that I have already said everything in the question, but I can also add that, for example, I built a model, indicated connections, and he will build tables in the database on this or generate a query for them. How to do this, that is, what development environment do you need under OC Windows? It is necessary to simplify the creation of tables in the database.

Answer the question

In order to leave comments, you need to log in

4 answer(s)
A
Akaero, 2018-02-06
@LoneRay

Use ORM: Entity Framework.
IDE respectively Visual Studio Community
Extremely easy to learn and use.
link:
poke

I
InoMono, 2018-02-06
@InoMono

ORM

M
mefutu, 2018-02-07
@mefutu

What you want is called Code First. First code and models, then tables and relationships. You can check here : https://metanit.com/sharp/entityframework/2.1.php

A
Alyosha, 2018-02-08
@digna

Everything that was sent above is bullshit, here is the topchk https://docs.microsoft.com/ru-ru/aspnet/core/tutor...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question