ModelBuilderGenericTest.GenericTestModelBuilder ModelBuilderGenericTest.GenericTestModelBuilder Class

Definition

protected class GenericTestModelBuilder : ModelBuilderTest.TestModelBuilder
Protected Class GenericTestModelBuilder
    Inherits ModelBuilderTest.TestModelBuilder
Inheritance
System.ObjectSystem.Object
ModelBuilderGenericTest.GenericTestModelBuilderModelBuilderGenericTest.GenericTestModelBuilder

Constructors

GenericTestModelBuilder(ModelBuilder) GenericTestModelBuilder(ModelBuilder)

public GenericTestModelBuilder(ModelBuilder modelBuilder)
Public Sub New(modelBuilder As ModelBuilder)
Parameters
modelBuilder
ModelBuilder ModelBuilder

Methods

Entity() Entity(Of TEntity)()

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

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

public override ModelBuilderTest.TestModelBuilder Entity<TEntity>(Action<ModelBuilderTest.TestEntityTypeBuilder<TEntity>> buildAction)where TEntity : class
Public Overrides 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
Overrides
Microsoft.EntityFrameworkCore.Tests.ModelBuilderTest.TestModelBuilder.Entity<TEntity>(System.Action<Microsoft.EntityFrameworkCore.Tests.ModelBuilderTest.TestEntityTypeBuilder<TEntity>>)Microsoft.EntityFrameworkCore.Tests.ModelBuilderTest.TestModelBuilder.Entity<TEntity>(System.Action<Microsoft.EntityFrameworkCore.Tests.ModelBuilderTest.TestEntityTypeBuilder<TEntity>>)

Equals(Object) Equals(Object)

Inherited from System.Object

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

Inherited from System.Object

GetDisplayName(Type) GetDisplayName(Type)

GetHashCode() GetHashCode()

Inherited from System.Object

GetType() GetType()

Inherited from System.Object

Ignore() Ignore(Of TEntity)()

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

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)

Validate() Validate()

Properties

Model Model

ModelBuilder ModelBuilder