ModelBuilderTest.TestModelBuilder ModelBuilderTest.TestModelBuilder Class

Syntax

Declaration

public abstract class TestModelBuilderPublic MustInherit Class TestModelBuilder

Inheritance Hierarchy

  • System.Object
    System.Object
  • ModelBuilderTest.TestModelBuilder
    ModelBuilderTest.TestModelBuilder

Inherited Members

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

Properties summary

Methods summary

Constructors

  • TestModelBuilder(ModelBuilder)
    TestModelBuilder(ModelBuilder)
    protected TestModelBuilder(ModelBuilder modelBuilder)Protected Sub New(modelBuilder As ModelBuilder)

    Parameters

Properties

  • Model
    Model
    public virtual IMutableModel Model { get; }Public Overridable ReadOnly Property Model As IMutableModel

    Property Value

  • ModelBuilder
    ModelBuilder
    protected ModelBuilder ModelBuilder { get; }Protected ReadOnly Property ModelBuilder As ModelBuilder

    Property Value

Methods

  • Entity<TEntity>()
    Entity(Of TEntity)()
    public abstract ModelBuilderTest.TestEntityTypeBuilder<TEntity> Entity<TEntity>()where TEntity : classPublic MustOverride Function Entity(Of TEntity As Class) As ModelBuilderTest.TestEntityTypeBuilder(Of TEntity)

    Returns

  • Entity<TEntity>(Action<ModelBuilderTest.TestEntityTypeBuilder<TEntity>>)
    Entity(Of TEntity)(Action(Of ModelBuilderTest.TestEntityTypeBuilder(Of TEntity)))
    public abstract ModelBuilderTest.TestModelBuilder Entity<TEntity>(Action<ModelBuilderTest.TestEntityTypeBuilder<TEntity>> buildAction)where TEntity : classPublic MustOverride Function Entity(Of TEntity As Class)(buildAction As Action(Of ModelBuilderTest.TestEntityTypeBuilder(Of TEntity))) As ModelBuilderTest.TestModelBuilder

    Parameters

    Returns

  • GetDisplayName(Type)
    GetDisplayName(Type)
    public virtual string GetDisplayName(Type entityType)Public Overridable Function GetDisplayName(entityType As Type) As String

    Parameters

    • entityType
      System.Type
      System.Type

    Returns

    • System.String
      System.String
  • Ignore<TEntity>()
    Ignore(Of TEntity)()
    public abstract ModelBuilderTest.TestModelBuilder Ignore<TEntity>()where TEntity : classPublic MustOverride Function Ignore(Of TEntity As Class) As ModelBuilderTest.TestModelBuilder

    Returns

  • UsePropertyAccessMode(PropertyAccessMode)
    UsePropertyAccessMode(PropertyAccessMode)
    public virtual ModelBuilder UsePropertyAccessMode(PropertyAccessMode propertyAccessMode)Public Overridable Function UsePropertyAccessMode(propertyAccessMode As PropertyAccessMode) As ModelBuilder

    Parameters

    Returns

  • Validate()
    Validate()
    public virtual ModelBuilderTest.TestModelBuilder Validate()Public Overridable Function Validate As ModelBuilderTest.TestModelBuilder

    Returns

Details

Assembly

Microsoft.EntityFrameworkCore.Tests.dll