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 檔案是否應該失效。