LoggingModelValidatorTest LoggingModelValidatorTest Class

Definition

public class LoggingModelValidatorTest : ModelValidatorTest
Public Class LoggingModelValidatorTest
    Inherits ModelValidatorTest
Inheritance
System.ObjectSystem.Object
LoggingModelValidatorTestLoggingModelValidatorTest

Inherited Members

Microsoft.EntityFrameworkCore.Tests.Infrastructure.ModelValidatorTest

CreateKey(EntityType, System.Int32, System.Int32)CreateKey(EntityType, System.Int32, System.Int32)
CreateForeignKey(EntityType, System.Collections.Generic.IReadOnlyList<Property>, Key)CreateForeignKey(EntityType, System.Collections.Generic.IReadOnlyList(Of Property), Key)

System.Object

System.Object.ToString()System.Object.ToString()
System.Object.Equals(System.Object)System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()System.Object.GetHashCode()
System.Object.GetType()System.Object.GetType()
System.Object.MemberwiseClone()System.Object.MemberwiseClone()

Constructors

LoggingModelValidatorTest() LoggingModelValidatorTest()

public LoggingModelValidatorTest()
Public Sub New

Properties

Log Log

protected List<Tuple<LogLevel, string>> Log { get; }
Protected ReadOnly Property Log As List(Of Tuple(Of LogLevel, String))
Value
System.Collections.Generic.List<System.Tuple<System.LogLevel, System.String>> System.Collections.Generic.List(Of System.Tuple(Of System.LogLevel, System.String))

Methods

CreateModelValidator() CreateModelValidator()

protected override ModelValidator CreateModelValidator()
Protected Overrides Function CreateModelValidator As ModelValidator
Returns
Overrides

VerifyError(String, IModel) VerifyError(String, IModel)

protected override void VerifyError(string expectedMessage, IModel model)
Protected Overrides Sub VerifyError(expectedMessage As String, model As IModel)
Parameters
expectedMessage
System.String System.String
model
IModel IModel
Overrides

VerifyWarning(String, IModel) VerifyWarning(String, IModel)

protected override void VerifyWarning(string expectedMessage, IModel model)
Protected Overrides Sub VerifyWarning(expectedMessage As String, model As IModel)
Parameters
expectedMessage
System.String System.String
model
IModel IModel
Overrides