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)

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