ModelBuilderNonGenericTest.NonGenericTestReferenceCollectionBuilder<TEntity, TRelatedEntity> ModelBuilderNonGenericTest.NonGenericTestReferenceCollectionBuilder(Of TEntity, TRelatedEntity) Class

Definition

protected class NonGenericTestReferenceCollectionBuilder<TEntity, TRelatedEntity> : ModelBuilderTest.TestReferenceCollectionBuilder<TEntity, TRelatedEntity> where TEntity : class where TRelatedEntity : class
Protected Class NonGenericTestReferenceCollectionBuilder(Of TEntity As Class, TRelatedEntity As Class)
    Inherits ModelBuilderTest.TestReferenceCollectionBuilder(Of TEntity, TRelatedEntity)
Type Parameters
TEntity
TRelatedEntity
Inheritance
System.ObjectSystem.Object
ModelBuilderNonGenericTest.NonGenericTestReferenceCollectionBuilder<TEntity, TRelatedEntity>ModelBuilderNonGenericTest.NonGenericTestReferenceCollectionBuilder(Of TEntity, TRelatedEntity)

Inherited Members

Microsoft.EntityFrameworkCore.Tests.ModelBuilderTest.TestReferenceCollectionBuilder{{TEntity},{TRelatedEntity}}

Microsoft.EntityFrameworkCore.Tests.ModelBuilderTest.TestReferenceCollectionBuilder<TEntity, TRelatedEntity>.MetadataMicrosoft.EntityFrameworkCore.Tests.ModelBuilderTest.TestReferenceCollectionBuilder<TEntity, TRelatedEntity>.Metadata
HasForeignKey(System.Linq.Expressions.Expression<System.Func<TRelatedEntity, System.Object>>)HasForeignKey(System.Linq.Expressions.Expression(Of System.Func(Of TRelatedEntity, System.Object)))
HasPrincipalKey(System.Linq.Expressions.Expression<System.Func<TEntity, System.Object>>)HasPrincipalKey(System.Linq.Expressions.Expression(Of System.Func(Of TEntity, System.Object)))
HasForeignKey(System.String[])HasForeignKey(System.String())
HasPrincipalKey(System.String[])HasPrincipalKey(System.String())
HasAnnotation(System.String, System.Object)HasAnnotation(System.String, System.Object)
IsRequired(System.Boolean)IsRequired(System.Boolean)

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

Constructors

NonGenericTestReferenceCollectionBuilder(ReferenceCollectionBuilder) NonGenericTestReferenceCollectionBuilder(ReferenceCollectionBuilder)

public NonGenericTestReferenceCollectionBuilder(ReferenceCollectionBuilder referenceCollectionBuilder)
Public Sub New(referenceCollectionBuilder As ReferenceCollectionBuilder)
Parameters

Properties

Metadata Metadata

public override IMutableForeignKey Metadata { get; }
Public Overrides ReadOnly Property Metadata As IMutableForeignKey
Overrides
Microsoft.EntityFrameworkCore.Tests.ModelBuilderTest.TestReferenceCollectionBuilder<TEntity, TRelatedEntity>.MetadataMicrosoft.EntityFrameworkCore.Tests.ModelBuilderTest.TestReferenceCollectionBuilder<TEntity, TRelatedEntity>.Metadata

Methods

HasAnnotation(String, Object) HasAnnotation(String, Object)

public override ModelBuilderTest.TestReferenceCollectionBuilder<TEntity, TRelatedEntity> HasAnnotation(string annotation, object value)
Public Overrides Function HasAnnotation(annotation As String, value As Object) As ModelBuilderTest.TestReferenceCollectionBuilder(Of TEntity, TRelatedEntity)
Parameters
annotation
System.String System.String
value
System.Object System.Object
Returns
Overrides
Microsoft.EntityFrameworkCore.Tests.ModelBuilderTest.TestReferenceCollectionBuilder<TEntity, TRelatedEntity>.HasAnnotation(System.String, System.Object)Microsoft.EntityFrameworkCore.Tests.ModelBuilderTest.TestReferenceCollectionBuilder<TEntity, TRelatedEntity>.HasAnnotation(System.String, System.Object)

HasForeignKey(Expression<>>) HasForeignKey(Expression(Of Func(Of TRelatedEntity, Object)))

public override ModelBuilderTest.TestReferenceCollectionBuilder<TEntity, TRelatedEntity> HasForeignKey(Expression<Func<TRelatedEntity, object>> foreignKeyExpression)
Public Overrides Function HasForeignKey(foreignKeyExpression As Expression(Of Func(Of TRelatedEntity, Object))) As ModelBuilderTest.TestReferenceCollectionBuilder(Of TEntity, TRelatedEntity)
Parameters
foreignKeyExpression
System.Linq.Expressions.Expression<System.Func<TRelatedEntity, System.Object>> System.Linq.Expressions.Expression(Of System.Func(Of TRelatedEntity, System.Object))
Returns
Overrides
Microsoft.EntityFrameworkCore.Tests.ModelBuilderTest.TestReferenceCollectionBuilder<TEntity, TRelatedEntity>.HasForeignKey(System.Linq.Expressions.Expression<System.Func<TRelatedEntity, System.Object>>)Microsoft.EntityFrameworkCore.Tests.ModelBuilderTest.TestReferenceCollectionBuilder<TEntity, TRelatedEntity>.HasForeignKey(System.Linq.Expressions.Expression<System.Func<TRelatedEntity, System.Object>>)

HasForeignKey(String[]) HasForeignKey(String())

public override ModelBuilderTest.TestReferenceCollectionBuilder<TEntity, TRelatedEntity> HasForeignKey(params string[] foreignKeyPropertyNames)
Public Overrides Function HasForeignKey(ParamArray foreignKeyPropertyNames As String()) As ModelBuilderTest.TestReferenceCollectionBuilder(Of TEntity, TRelatedEntity)
Parameters
foreignKeyPropertyNames
System.String[] System.String()
Returns
Overrides
Microsoft.EntityFrameworkCore.Tests.ModelBuilderTest.TestReferenceCollectionBuilder<TEntity, TRelatedEntity>.HasForeignKey(System.String[])Microsoft.EntityFrameworkCore.Tests.ModelBuilderTest.TestReferenceCollectionBuilder<TEntity, TRelatedEntity>.HasForeignKey(System.String[])

HasPrincipalKey(Expression<>>) HasPrincipalKey(Expression(Of Func(Of TEntity, Object)))

public override ModelBuilderTest.TestReferenceCollectionBuilder<TEntity, TRelatedEntity> HasPrincipalKey(Expression<Func<TEntity, object>> keyExpression)
Public Overrides Function HasPrincipalKey(keyExpression As Expression(Of Func(Of TEntity, Object))) As ModelBuilderTest.TestReferenceCollectionBuilder(Of TEntity, TRelatedEntity)
Parameters
keyExpression
System.Linq.Expressions.Expression<System.Func<TEntity, System.Object>> System.Linq.Expressions.Expression(Of System.Func(Of TEntity, System.Object))
Returns
Overrides
Microsoft.EntityFrameworkCore.Tests.ModelBuilderTest.TestReferenceCollectionBuilder<TEntity, TRelatedEntity>.HasPrincipalKey(System.Linq.Expressions.Expression<System.Func<TEntity, System.Object>>)Microsoft.EntityFrameworkCore.Tests.ModelBuilderTest.TestReferenceCollectionBuilder<TEntity, TRelatedEntity>.HasPrincipalKey(System.Linq.Expressions.Expression<System.Func<TEntity, System.Object>>)

HasPrincipalKey(String[]) HasPrincipalKey(String())

public override ModelBuilderTest.TestReferenceCollectionBuilder<TEntity, TRelatedEntity> HasPrincipalKey(params string[] keyPropertyNames)
Public Overrides Function HasPrincipalKey(ParamArray keyPropertyNames As String()) As ModelBuilderTest.TestReferenceCollectionBuilder(Of TEntity, TRelatedEntity)
Parameters
keyPropertyNames
System.String[] System.String()
Returns
Overrides
Microsoft.EntityFrameworkCore.Tests.ModelBuilderTest.TestReferenceCollectionBuilder<TEntity, TRelatedEntity>.HasPrincipalKey(System.String[])Microsoft.EntityFrameworkCore.Tests.ModelBuilderTest.TestReferenceCollectionBuilder<TEntity, TRelatedEntity>.HasPrincipalKey(System.String[])

IsRequired(Boolean) IsRequired(Boolean)

public override ModelBuilderTest.TestReferenceCollectionBuilder<TEntity, TRelatedEntity> IsRequired(bool isRequired = true)
Public Overrides Function IsRequired(isRequired As Boolean = True) As ModelBuilderTest.TestReferenceCollectionBuilder(Of TEntity, TRelatedEntity)
Parameters
isRequired
System.Boolean System.Boolean
Returns
Overrides
Microsoft.EntityFrameworkCore.Tests.ModelBuilderTest.TestReferenceCollectionBuilder<TEntity, TRelatedEntity>.IsRequired(System.Boolean)Microsoft.EntityFrameworkCore.Tests.ModelBuilderTest.TestReferenceCollectionBuilder<TEntity, TRelatedEntity>.IsRequired(System.Boolean)

OnDelete(DeleteBehavior) OnDelete(DeleteBehavior)

public override ModelBuilderTest.TestReferenceCollectionBuilder<TEntity, TRelatedEntity> OnDelete(DeleteBehavior deleteBehavior)
Public Overrides Function OnDelete(deleteBehavior As DeleteBehavior) As ModelBuilderTest.TestReferenceCollectionBuilder(Of TEntity, TRelatedEntity)
Parameters
Returns
Overrides
Microsoft.EntityFrameworkCore.Tests.ModelBuilderTest.TestReferenceCollectionBuilder<TEntity, TRelatedEntity>.OnDelete(Microsoft.EntityFrameworkCore.Metadata.DeleteBehavior)Microsoft.EntityFrameworkCore.Tests.ModelBuilderTest.TestReferenceCollectionBuilder<TEntity, TRelatedEntity>.OnDelete(Microsoft.EntityFrameworkCore.Metadata.DeleteBehavior)