DefaultDbModelStore.FileIsValid(Type, String) 方法

定义

验证模型存储是否有效。 默认实现验证 .edmx 文件是在上次写入上下文程序集之后最后一次写入的。

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

参数

contextType
Type

表示模型的上下文类型。

filePath
String

存储模型的路径。

返回

edmx 文件是否应失效。

适用于