ModelBuilderTest.TestModelBuilder ModelBuilderTest.TestModelBuilder Class

Definition

public abstract class TestModelBuilder
Public MustInherit Class TestModelBuilder
Inheritance
System.ObjectSystem.Object
ModelBuilderTest.TestModelBuilderModelBuilderTest.TestModelBuilder

Constructors

TestModelBuilder(ModelBuilder) TestModelBuilder(ModelBuilder)

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

Properties

Model Model

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

ModelBuilder ModelBuilder

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

Methods

Entity() Entity(Of TEntity)()

public abstract ModelBuilderTest.TestEntityTypeBuilder<TEntity> Entity<TEntity>()where TEntity : class
Public MustOverride Function Entity(Of TEntity As Class) As ModelBuilderTest.TestEntityTypeBuilder(Of TEntity)
Type Parameters
TEntity
Returns

Entity(Action<>>) Entity(Of TEntity)(Action(Of ModelBuilderTest.TestEntityTypeBuilder(Of TEntity)))

public abstract ModelBuilderTest.TestModelBuilder Entity<TEntity>(Action<ModelBuilderTest.TestEntityTypeBuilder<TEntity>> buildAction)where TEntity : class
Public MustOverride Function Entity(Of TEntity As Class)(buildAction As Action(Of ModelBuilderTest.TestEntityTypeBuilder(Of TEntity))) As ModelBuilderTest.TestModelBuilder
Type Parameters
TEntity
Parameters
buildAction
System.Action<ModelBuilderTest.TestEntityTypeBuilder<TEntity>> System.Action(Of ModelBuilderTest.TestEntityTypeBuilder(Of TEntity))
Returns

Equals(Object) Equals(Object)

Inherited from System.Object

Equals(Object, Object) Equals(Object, Object)

Inherited from System.Object

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

GetHashCode() GetHashCode()

Inherited from System.Object

GetType() GetType()

Inherited from System.Object

Ignore() Ignore(Of TEntity)()

public abstract ModelBuilderTest.TestModelBuilder Ignore<TEntity>()where TEntity : class
Public MustOverride Function Ignore(Of TEntity As Class) As ModelBuilderTest.TestModelBuilder
Type Parameters
TEntity
Returns

MemberwiseClone() MemberwiseClone()

Inherited from System.Object

ReferenceEquals(Object, Object) ReferenceEquals(Object, Object)

Inherited from System.Object

ToString() ToString()

Inherited from System.Object

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