CoreStrings.ModelNotFinalized(Object) Method
In this article
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.
The model must be finalized and its runtime dependencies must be initialized before '{method}' can be used. Ensure that either 'OnModelCreating' has completed or, if using a stand-alone 'ModelBuilder', that 'IModelRuntimeInitializer.Initialize(model.FinalizeModel())' was called.
public static string ModelNotFinalized (object method);
public static string ModelNotFinalized (object? method);
static member ModelNotFinalized : obj -> string
Public Shared Function ModelNotFinalized (method As Object) As String
- method
- Object
Product | Versions |
---|---|
Entity Framework Core | 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0 |
Entity Framework feedback
Entity Framework is an open source project. Select a link to provide feedback: