RuntimeModelConvention.Create(IModel) Method
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.
Creates an optimized model base on the supplied one.
protected virtual Microsoft.EntityFrameworkCore.Metadata.RuntimeModel Create (Microsoft.EntityFrameworkCore.Metadata.IModel model);
abstract member Create : Microsoft.EntityFrameworkCore.Metadata.IModel -> Microsoft.EntityFrameworkCore.Metadata.RuntimeModel
override this.Create : Microsoft.EntityFrameworkCore.Metadata.IModel -> Microsoft.EntityFrameworkCore.Metadata.RuntimeModel
Protected Overridable Function Create (model As IModel) As RuntimeModel
Parameters
- model
- IModel
The source model.
Returns
An optimized model.
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