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

Syntax

Declaration

protected class GenericTestCollectionNavigationBuilder<TEntity, TRelatedEntity> : ModelBuilderTest.TestCollectionNavigationBuilder<TEntity, TRelatedEntity> where TEntity : class where TRelatedEntity : classProtected Class GenericTestCollectionNavigationBuilder(Of TEntity As Class, TRelatedEntity As Class)
    Inherits ModelBuilderTest.TestCollectionNavigationBuilder(Of TEntity, TRelatedEntity)

Type Parameters

TEntity
TRelatedEntity

Inheritance Hierarchy

Inherited Members

WithOne(Expression<Func<TRelatedEntity, TEntity>>),
WithOne(Expression(Of Func(Of TRelatedEntity, TEntity))),
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

  • GenericTestCollectionNavigationBuilder(CollectionNavigationBuilder<TEntity, TRelatedEntity>)
    GenericTestCollectionNavigationBuilder(CollectionNavigationBuilder(Of TEntity, TRelatedEntity))
    public GenericTestCollectionNavigationBuilder(CollectionNavigationBuilder<TEntity, TRelatedEntity> collectionNavigationBuilder)Public Sub New(collectionNavigationBuilder As CollectionNavigationBuilder(Of TEntity, TRelatedEntity))

    Parameters

Properties

Methods

  • WithOne(Expression<Func<TRelatedEntity, TEntity>>)
    WithOne(Expression(Of Func(Of TRelatedEntity, TEntity)))
    public override ModelBuilderTest.TestReferenceCollectionBuilder<TEntity, TRelatedEntity> WithOne(Expression<Func<TRelatedEntity, TEntity>> reference = null)Public Overrides Function WithOne(reference As Expression(Of Func(Of TRelatedEntity, TEntity)) = Nothing) As ModelBuilderTest.TestReferenceCollectionBuilder(Of TEntity, TRelatedEntity)

    Parameters

    • reference
      System.Linq.Expressions.Expression<TDelegate><System.Func<T, TResult><TRelatedEntity, TEntity>>
      System.Linq.Expressions.Expression<TDelegate>(Of System.Func<T, TResult>(Of TRelatedEntity, TEntity))

    Returns

Details

Assembly

Microsoft.EntityFrameworkCore.Tests.dll