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

Definition

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

Inherited Members

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

Microsoft.EntityFrameworkCore.Tests.ModelBuilderTest.TestReferenceReferenceBuilder<TEntity, TRelatedEntity>.MetadataMicrosoft.EntityFrameworkCore.Tests.ModelBuilderTest.TestReferenceReferenceBuilder<TEntity, TRelatedEntity>.Metadata
HasAnnotation(System.String, System.Object)HasAnnotation(System.String, System.Object)
HasForeignKey<TDependentEntity>(System.Linq.Expressions.Expression<System.Func<TDependentEntity, System.Object>>)HasForeignKey(Of TDependentEntity)(System.Linq.Expressions.Expression(Of System.Func(Of TDependentEntity, System.Object)))
HasPrincipalKey<TPrincipalEntity>(System.Linq.Expressions.Expression<System.Func<TPrincipalEntity, System.Object>>)HasPrincipalKey(Of TPrincipalEntity)(System.Linq.Expressions.Expression(Of System.Func(Of TPrincipalEntity, 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

NonGenericTestReferenceReferenceBuilder(ReferenceReferenceBuilder) NonGenericTestReferenceReferenceBuilder(ReferenceReferenceBuilder)

public NonGenericTestReferenceReferenceBuilder(ReferenceReferenceBuilder referenceReferenceBuilder)
Public Sub New(referenceReferenceBuilder As ReferenceReferenceBuilder)
Parameters

Properties

Metadata Metadata

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

ReferenceReferenceBuilder ReferenceReferenceBuilder

protected ReferenceReferenceBuilder ReferenceReferenceBuilder { get; }
Protected ReadOnly Property ReferenceReferenceBuilder As ReferenceReferenceBuilder

Methods

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

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

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

public override ModelBuilderTest.TestReferenceReferenceBuilder<TEntity, TRelatedEntity> HasForeignKey<TDependentEntity>(Expression<Func<TDependentEntity, object>> foreignKeyExpression)where TDependentEntity : class
Public Overrides Function HasForeignKey(Of TDependentEntity As Class)(foreignKeyExpression As Expression(Of Func(Of TDependentEntity, Object))) As ModelBuilderTest.TestReferenceReferenceBuilder(Of TEntity, TRelatedEntity)
Type Parameters
TDependentEntity
Parameters
foreignKeyExpression
System.Linq.Expressions.Expression<System.Func<TDependentEntity, System.Object>> System.Linq.Expressions.Expression(Of System.Func(Of TDependentEntity, System.Object))
Returns
Overrides
Microsoft.EntityFrameworkCore.Tests.ModelBuilderTest.TestReferenceReferenceBuilder<TEntity, TRelatedEntity>.HasForeignKey<TDependentEntity>(System.Linq.Expressions.Expression<System.Func<TDependentEntity, System.Object>>)Microsoft.EntityFrameworkCore.Tests.ModelBuilderTest.TestReferenceReferenceBuilder<TEntity, TRelatedEntity>.HasForeignKey<TDependentEntity>(System.Linq.Expressions.Expression<System.Func<TDependentEntity, System.Object>>)

HasForeignKey(String[]) HasForeignKey(Of TDependentEntity)(String())

public override ModelBuilderTest.TestReferenceReferenceBuilder<TEntity, TRelatedEntity> HasForeignKey<TDependentEntity>(params string[] foreignKeyPropertyNames)where TDependentEntity : class
Public Overrides Function HasForeignKey(Of TDependentEntity As Class)(ParamArray foreignKeyPropertyNames As String()) As ModelBuilderTest.TestReferenceReferenceBuilder(Of TEntity, TRelatedEntity)
Type Parameters
TDependentEntity
Parameters
foreignKeyPropertyNames
System.String[] System.String()
Returns
Overrides
Microsoft.EntityFrameworkCore.Tests.ModelBuilderTest.TestReferenceReferenceBuilder<TEntity, TRelatedEntity>.HasForeignKey<TDependentEntity>(System.String[])Microsoft.EntityFrameworkCore.Tests.ModelBuilderTest.TestReferenceReferenceBuilder<TEntity, TRelatedEntity>.HasForeignKey<TDependentEntity>(System.String[])

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

public override ModelBuilderTest.TestReferenceReferenceBuilder<TEntity, TRelatedEntity> HasPrincipalKey<TPrincipalEntity>(Expression<Func<TPrincipalEntity, object>> keyExpression)where TPrincipalEntity : class
Public Overrides Function HasPrincipalKey(Of TPrincipalEntity As Class)(keyExpression As Expression(Of Func(Of TPrincipalEntity, Object))) As ModelBuilderTest.TestReferenceReferenceBuilder(Of TEntity, TRelatedEntity)
Type Parameters
TPrincipalEntity
Parameters
keyExpression
System.Linq.Expressions.Expression<System.Func<TPrincipalEntity, System.Object>> System.Linq.Expressions.Expression(Of System.Func(Of TPrincipalEntity, System.Object))
Returns
Overrides
Microsoft.EntityFrameworkCore.Tests.ModelBuilderTest.TestReferenceReferenceBuilder<TEntity, TRelatedEntity>.HasPrincipalKey<TPrincipalEntity>(System.Linq.Expressions.Expression<System.Func<TPrincipalEntity, System.Object>>)Microsoft.EntityFrameworkCore.Tests.ModelBuilderTest.TestReferenceReferenceBuilder<TEntity, TRelatedEntity>.HasPrincipalKey<TPrincipalEntity>(System.Linq.Expressions.Expression<System.Func<TPrincipalEntity, System.Object>>)

HasPrincipalKey(String[]) HasPrincipalKey(Of TPrincipalEntity)(String())

public override ModelBuilderTest.TestReferenceReferenceBuilder<TEntity, TRelatedEntity> HasPrincipalKey<TPrincipalEntity>(params string[] keyPropertyNames)where TPrincipalEntity : class
Public Overrides Function HasPrincipalKey(Of TPrincipalEntity As Class)(ParamArray keyPropertyNames As String()) As ModelBuilderTest.TestReferenceReferenceBuilder(Of TEntity, TRelatedEntity)
Type Parameters
TPrincipalEntity
Parameters
keyPropertyNames
System.String[] System.String()
Returns
Overrides
Microsoft.EntityFrameworkCore.Tests.ModelBuilderTest.TestReferenceReferenceBuilder<TEntity, TRelatedEntity>.HasPrincipalKey<TPrincipalEntity>(System.String[])Microsoft.EntityFrameworkCore.Tests.ModelBuilderTest.TestReferenceReferenceBuilder<TEntity, TRelatedEntity>.HasPrincipalKey<TPrincipalEntity>(System.String[])

IsRequired(Boolean) IsRequired(Boolean)

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

OnDelete(DeleteBehavior) OnDelete(DeleteBehavior)

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

Wrap(ReferenceReferenceBuilder) Wrap(ReferenceReferenceBuilder)

protected virtual ModelBuilderNonGenericTest.NonGenericTestReferenceReferenceBuilder<TEntity, TRelatedEntity> Wrap(ReferenceReferenceBuilder referenceReferenceBuilder)
Protected Overridable Function Wrap(referenceReferenceBuilder As ReferenceReferenceBuilder) As ModelBuilderNonGenericTest.NonGenericTestReferenceReferenceBuilder(Of TEntity, TRelatedEntity)
Parameters
Returns