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

Splitting out into folders #1165

Closed
smarteez17 opened this issue Nov 9, 2021 · 5 comments
Closed

Splitting out into folders #1165

smarteez17 opened this issue Nov 9, 2021 · 5 comments

Comments

@smarteez17
Copy link

smarteez17 commented Nov 9, 2021

Hi There

Thank you for this tools I am new to EF Core . I see that I can split the generated code in Models and Data . Would it be possiable to also split it in Configuration as well.

Also I see there a DBContext file can the tool create a Interface for dbContext

I am very new to this if you can explain in detail it would help me alot

@ErikEJ
Copy link
Owner

ErikEJ commented Nov 9, 2021

Seems like a duplicate of #1075

@ErikEJ ErikEJ closed this as completed Nov 9, 2021
@smarteez17
Copy link
Author

Hi @ErikEJ I look around not sure were this is answered
is there a DBContext file can the tool create a Interface for dbContext

@ErikEJ
Copy link
Owner

ErikEJ commented Nov 12, 2021

You could use Handlebars to refer to an Interface - but please explain why you need it?

@smarteez17
Copy link
Author

smarteez17 commented Nov 12, 2021

I would like to access the context via an interface classes and not directly and company made this a standard

@ErikEJ
Copy link
Owner

ErikEJ commented Nov 12, 2021

OK, use Handlebars, not something I plan to implement

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