IConstructorBindingFactory Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A factory for finding and creating InstantiationBinding instances for a given CLR constructor.
public interface IConstructorBindingFactory
type IConstructorBindingFactory = interface
Public Interface IConstructorBindingFactory
Remarks
The service lifetime is Singleton. This means a single instance is used by many DbContext instances. The implementation must be thread-safe. This service cannot depend on services registered as Scoped.
See Entity types with constructors for more information and examples.
Methods
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework