Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LINQ instead of manual query building #66

Closed
xperiandri opened this issue Aug 13, 2017 · 2 comments
Closed

LINQ instead of manual query building #66

xperiandri opened this issue Aug 13, 2017 · 2 comments

Comments

@xperiandri
Copy link

Why don't you use LINQ and EF providers to generate SQL but do that manually?

@sebastienros
Copy link
Owner

It already supports LINQ to do any SELECT query. I don't see what EF has to do with it.
To store document and indices the SQL is done manually as the model is dynamic, and EF would not support that easily (I tried with the help of the EF team in the early days of YesSql core).

@xperiandri
Copy link
Author

Not EF, but EF database providers to generate SQL from LINQ.
But if there is an ability to specify index with IndexAttribute then there must be an API to create it manually too. Isn't it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants