ModelBuilderTest.TestCollectionNavigationBuilder<TEntity, TRelatedEntity> ModelBuilderTest.TestCollectionNavigationBuilder(Of TEntity, TRelatedEntity) Class

Syntax

Declaration

public abstract class TestCollectionNavigationBuilder<TEntity, TRelatedEntity>
    where TEntity : class where TRelatedEntity : classPublic MustInherit Class TestCollectionNavigationBuilder(Of TEntity As Class, TRelatedEntity As Class)

Type Parameters

TEntity
TRelatedEntity

Inheritance Hierarchy

  • System.Object
    System.Object
  • ModelBuilderTest.TestCollectionNavigationBuilder<TEntity, TRelatedEntity>
    ModelBuilderTest.TestCollectionNavigationBuilder(Of TEntity, TRelatedEntity)

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()

Methods summary

Methods

  • WithOne(Expression<Func<TRelatedEntity, TEntity>>)
    WithOne(Expression(Of Func(Of TRelatedEntity, TEntity)))
    public abstract ModelBuilderTest.TestReferenceCollectionBuilder<TEntity, TRelatedEntity> WithOne(Expression<Func<TRelatedEntity, TEntity>> reference = null)Public MustOverride 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