Comments (2)
The DbContext is registered in the DI container as DbContext, so you should, in therory, be able to just add it to the constructor of your other controllers and it "just work". But I'm not 100% positive, and if this works, it's likely OK to keep it this way.
from restier.
Thanks π€
from restier.
Related Issues (20)
- Using `MaxTop` doesn't change the limit for `Top` HOT 2
- Restier Swagger support for AspNetCore HOT 44
- How to override BaseAddressFactory to replace @odata.context uri? HOT 4
- Restier 1.0 Has Finally Shipped! HOT 5
- MaxTop setting not being considered HOT 1
- Restier pattern for AsNoTracking on get/read HOT 6
- Update Documentation HOT 7
- Help needed to make a custom IQueryExpressionProcessor HOT 4
- Returning empty set?
- RESTIER odatametadata xml is different than ODataContoler / api explorer xml HOT 2
- [2.0] Treat Views as Entities? HOT 1
- Restier Swagger support for AspNetCore : PUT doesn't appears HOT 1
- Replace Non Standard IfMatch Header with Standard If-Match Header HOT 4
- Restier Swagger not applying route prefix HOT 2
- [2.0] Make Operations more magical
- [2.0] Make OData configuration more magical
- [2.0] Make Dependency Injection more magical HOT 1
- feature request: spectral ruleset
- Not support βIf-Matchβ header which is defined in Odata protocol HOT 1
- How to replace the .AddChainedService<T> Method HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from restier.