次の方法で共有


ModelValidator.ValidatePropertyMapping メソッド

定義

プロパティ マッピングを検証します。

protected virtual void ValidatePropertyMapping (Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model.Validation> logger);
abstract member ValidatePropertyMapping : Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model.Validation> -> unit
override this.ValidatePropertyMapping : Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model.Validation> -> unit
Protected Overridable Sub ValidatePropertyMapping (model As IModel, logger As IDiagnosticsLogger(Of DbLoggerCategory.Model.Validation))

パラメーター

model
IModel

モデル。

logger
IDiagnosticsLogger<DbLoggerCategory.Model.Validation>

使用するロガー。

適用対象