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

Syntax

Declaration

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

Type Parameters

TEntity
TRelatedEntity

Inheritance Hierarchy

Inherited Members

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

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

    Parameters

Properties

Methods

  • WithMany(Expression<Func<TRelatedEntity, IEnumerable<TEntity>>>)
    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<TDelegate><System.Func<T, TResult><TRelatedEntity, System.Collections.Generic.IEnumerable<T><TEntity>>>
      System.Linq.Expressions.Expression<TDelegate>(Of System.Func<T, TResult>(Of TRelatedEntity, System.Collections.Generic.IEnumerable<T>(Of TEntity)))

    Returns

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