ModelBuilderGenericTest.GenericTestReferenceNavigationBuilder<TEntity, TRelatedEntity> ModelBuilderGenericTest.GenericTestReferenceNavigationBuilder(Of TEntity, TRelatedEntity) Class

Definition

protected class GenericTestReferenceNavigationBuilder<TEntity, TRelatedEntity> : ModelBuilderTest.TestReferenceNavigationBuilder<TEntity, TRelatedEntity> where TEntity : class where TRelatedEntity : class
Protected Class GenericTestReferenceNavigationBuilder(Of TEntity As Class, TRelatedEntity As Class)
    Inherits ModelBuilderTest.TestReferenceNavigationBuilder(Of TEntity, TRelatedEntity)
Type Parameters
TEntity
TRelatedEntity
Inheritance
System.ObjectSystem.Object
ModelBuilderGenericTest.GenericTestReferenceNavigationBuilder<TEntity, TRelatedEntity>ModelBuilderGenericTest.GenericTestReferenceNavigationBuilder(Of TEntity, TRelatedEntity)

Constructors

GenericTestReferenceNavigationBuilder(ReferenceNavigationBuilder) GenericTestReferenceNavigationBuilder(ReferenceNavigationBuilder(Of TEntity, TRelatedEntity))

public GenericTestReferenceNavigationBuilder(ReferenceNavigationBuilder<TEntity, TRelatedEntity> referenceNavigationBuilder)
Public Sub New(referenceNavigationBuilder As ReferenceNavigationBuilder(Of TEntity, TRelatedEntity))
Parameters
referenceNavigationBuilder
ReferenceNavigationBuilder<TEntity, TRelatedEntity> ReferenceNavigationBuilder(Of TEntity, TRelatedEntity)

Properties

ReferenceNavigationBuilder ReferenceNavigationBuilder

protected ReferenceNavigationBuilder<TEntity, TRelatedEntity> ReferenceNavigationBuilder { get; }
Protected ReadOnly Property ReferenceNavigationBuilder As ReferenceNavigationBuilder(Of TEntity, TRelatedEntity)
Value
ReferenceNavigationBuilder<TEntity, TRelatedEntity> ReferenceNavigationBuilder(Of TEntity, TRelatedEntity)

Methods

Equals(Object) Equals(Object)

Inherited from System.Object

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

Inherited from System.Object

GetHashCode() GetHashCode()

Inherited from System.Object

GetType() GetType()

Inherited from System.Object

MemberwiseClone() MemberwiseClone()

Inherited from System.Object

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

Inherited from System.Object

ToString() ToString()

Inherited from System.Object

WithMany(Expression<>>>) WithMany(Expression(Of Func(Of TRelatedEntity, IEnumerable(Of TEntity))))

public override ModelBuilderTest.TestReferenceCollectionBuilder<TRelatedEntity, TEntity> WithMany(Expression<Func<TRelatedEntity, IEnumerable<TEntity>>> collection = null)
Public Overrides Function WithMany(collection As Expression(Of Func(Of TRelatedEntity, IEnumerable(Of TEntity))) = Nothing) As ModelBuilderTest.TestReferenceCollectionBuilder(Of TRelatedEntity, TEntity)
Parameters
collection
System.Linq.Expressions.Expression<System.Func<TRelatedEntity, System.Collections.Generic.IEnumerable<TEntity>>> System.Linq.Expressions.Expression(Of System.Func(Of TRelatedEntity, System.Collections.Generic.IEnumerable(Of TEntity)))
Returns
Overrides
Microsoft.EntityFrameworkCore.Tests.ModelBuilderTest.TestReferenceNavigationBuilder<TEntity, TRelatedEntity>.WithMany(System.Linq.Expressions.Expression<System.Func<TRelatedEntity, System.Collections.Generic.IEnumerable<TEntity>>>)Microsoft.EntityFrameworkCore.Tests.ModelBuilderTest.TestReferenceNavigationBuilder<TEntity, TRelatedEntity>.WithMany(System.Linq.Expressions.Expression<System.Func<TRelatedEntity, System.Collections.Generic.IEnumerable<TEntity>>>)

WithMany(Expression<>>>) WithMany(Expression(Of Func(Of TRelatedEntity, IEnumerable(Of TEntity))))

Inherited from Microsoft.EntityFrameworkCore.Tests.ModelBuilderTest.TestReferenceNavigationBuilder<TEntity, TRelatedEntity>

WithOne(Expression<>>) WithOne(Expression(Of Func(Of TRelatedEntity, TEntity)))

public override ModelBuilderTest.TestReferenceReferenceBuilder<TEntity, TRelatedEntity> WithOne(Expression<Func<TRelatedEntity, TEntity>> reference = null)
Public Overrides Function WithOne(reference As Expression(Of Func(Of TRelatedEntity, TEntity)) = Nothing) As ModelBuilderTest.TestReferenceReferenceBuilder(Of TEntity, TRelatedEntity)
Parameters
reference
System.Linq.Expressions.Expression<System.Func<TRelatedEntity, TEntity>> System.Linq.Expressions.Expression(Of System.Func(Of TRelatedEntity, TEntity))
Returns
Overrides
Microsoft.EntityFrameworkCore.Tests.ModelBuilderTest.TestReferenceNavigationBuilder<TEntity, TRelatedEntity>.WithOne(System.Linq.Expressions.Expression<System.Func<TRelatedEntity, TEntity>>)Microsoft.EntityFrameworkCore.Tests.ModelBuilderTest.TestReferenceNavigationBuilder<TEntity, TRelatedEntity>.WithOne(System.Linq.Expressions.Expression<System.Func<TRelatedEntity, TEntity>>)

WithOne(Expression<>>) WithOne(Expression(Of Func(Of TRelatedEntity, TEntity)))

Inherited from Microsoft.EntityFrameworkCore.Tests.ModelBuilderTest.TestReferenceNavigationBuilder<TEntity, TRelatedEntity>