DefaultDbModelStore.FileIsValid(Type, String) Method

Definition

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