DefaultDbModelStore.FileIsValid(Type, String) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
验证模型存储是否有效。 默认实现验证 .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 文件是否应失效。