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
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.
Entity Framework