LoggingModelValidator LoggingModelValidator Class

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

Syntax

Declaration

public class LoggingModelValidator : ModelValidator, IModelValidatorPublic Class LoggingModelValidator
    Inherits ModelValidator
    Implements IModelValidator

Inheritance Hierarchy

Inherited Members

Validate(IModel),
Validate(IModel),
EnsureNoShadowEntities(IModel),
EnsureNoShadowEntities(IModel),
EnsureNoShadowKeys(IModel),
EnsureNoShadowKeys(IModel),
EnsureNonNullPrimaryKeys(IModel),
EnsureNonNullPrimaryKeys(IModel),
EnsureClrInheritance(IModel),
EnsureClrInheritance(IModel),
EnsureChangeTrackingStrategy(IModel),
EnsureChangeTrackingStrategy(IModel),
EnsureFieldMapping(IModel),
EnsureFieldMapping(IModel),
ShowError(String),
ShowError(String),
ToString(),
ToString(),
Equals(Object),
Equals(Object),
Equals(Object, Object),
Equals(Object, Object),
ReferenceEquals(Object, Object),
ReferenceEquals(Object, Object),
GetHashCode(),
GetHashCode(),
GetType(),
GetType(),
MemberwiseClone()
MemberwiseClone()

Constructors summary

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

Properties summary

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

Methods summary

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

Constructors

  • LoggingModelValidator(ILogger<LoggingModelValidator>)
    LoggingModelValidator(ILogger(Of LoggingModelValidator))

    This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

    public LoggingModelValidator(ILogger<LoggingModelValidator> logger)Public Sub New(logger As ILogger(Of LoggingModelValidator))

    Parameters

Properties

  • Logger
    Logger

    This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

    protected virtual ILogger Logger { get; }Protected Overridable ReadOnly Property Logger As ILogger

    Property Value

    • ILogger
      ILogger

Methods

  • ShowWarning(String)
    ShowWarning(String)

    This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

    protected override void ShowWarning(string message)Protected Overrides Sub ShowWarning(message As String)

    Parameters

    • message
      System.String
      System.String

Details

Assembly

Microsoft.EntityFrameworkCore.dll