Skip to content

Use the dbContext Model property instead of GetService<IModel>()#197

Open
0xced wants to merge 1 commit intoartiomchi:mainfrom
0xced:DbContext.Model
Open

Use the dbContext Model property instead of GetService<IModel>()#197
0xced wants to merge 1 commit intoartiomchi:mainfrom
0xced:DbContext.Model

Conversation

@0xced
Copy link
Contributor

@0xced 0xced commented Feb 23, 2026

It's just simpler to use the dedicated Model property rather than going through GetService<IModel>().

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

Successfully merging this pull request may close these issues.

1 participant