Skip to content

EntityFramework support vs direct SQL #1740

Answered by sbwalker
RussKahler1970 asked this question in Ideas
Discussion options

You must be logged in to vote

@RussKahler1970 as @hishamco mentioned, Oqtane already uses an EF Core Repository model and does NOT rely on direct SQL.

If you look in the Oqtane.Server\Repository folder you will see the repository classes for all of the entities which the framework currently supports. If you review the code more closely you will notice that the SQLRepository you identified is not a generic repository... it is only used in one very specific scenario - to allow a host user to navigate to a SQL Manager module in the UI and enter raw SQL statements that are executed against a specific database for development/debugging purposes. All other scenarios have dedicated repositories implemented using standard EF …

Replies: 2 comments 6 replies

Comment options

You must be logged in to vote
2 replies
@RussKahler1970
Comment options

@markagama
Comment options

Comment options

You must be logged in to vote
4 replies
@markagama
Comment options

@sbwalker
Comment options

@RussKahler1970
Comment options

@sbwalker
Comment options

Answer selected by RussKahler1970
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
4 participants