DefaultDbModelStore.FileIsValid(Type, String) 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.
Validates the model store is valid. The default implementation verifies that the .edmx file was last written after the context assembly was last written.
protected virtual bool FileIsValid (Type contextType, string filePath);
abstract member FileIsValid : Type * string -> bool
override this.FileIsValid : Type * string -> bool
Protected Overridable Function FileIsValid (contextType As Type, filePath As String) As Boolean
Parameters
- contextType
- Type
The type of context representing the model.
- filePath
- String
The path of the stored model.
Returns
Whether the edmx file should be invalidated.
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