共用方式為


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

適用於