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

Definition

public abstract class TestReferenceNavigationBuilder<TEntity, TRelatedEntity>
    where TEntity : class where TRelatedEntity : class
Public MustInherit Class TestReferenceNavigationBuilder(Of TEntity As Class, TRelatedEntity As Class)
Type Parameters
TEntity
TRelatedEntity
Inheritance
System.ObjectSystem.Object
ModelBuilderTest.TestReferenceNavigationBuilder<TEntity, TRelatedEntity>ModelBuilderTest.TestReferenceNavigationBuilder(Of TEntity, TRelatedEntity)

Inherited Members

System.Object

System.Object.ToString()System.Object.ToString()
System.Object.Equals(System.Object)System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()System.Object.GetHashCode()
System.Object.GetType()System.Object.GetType()
System.Object.MemberwiseClone()System.Object.MemberwiseClone()

Methods

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

public abstract ModelBuilderTest.TestReferenceCollectionBuilder<TRelatedEntity, TEntity> WithMany(Expression<Func<TRelatedEntity, IEnumerable<TEntity>>> collection = null)
Public MustOverride 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

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

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