-
Notifications
You must be signed in to change notification settings - Fork 343
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
Why use AddCustomRepository #109
Comments
Yes, if you haven't any custom, will use the default impl |
因为是走的默认new 对象的方式 |
//Insert AddCustomRepository //use custom repository |
I have found that if I do not use "AddCustomRepository<Blog, CustomBlogRepository>()" in the Startup.cs ,it alse can run corrctly(it can alse get the right data in the mysql database)
so what's the meaning of use "AddCustomRepository<Blog, CustomBlogRepository>()" in the Startup.cs ?
Thanks.
The text was updated successfully, but these errors were encountered: