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)

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

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

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)

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

Inherited from Microsoft.EntityFrameworkCore.Tests.ModelBuilderTest.TestReferenceReferenceBuilder<TEntity, TRelatedEntity>

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(Expression<>>) HasForeignKey(Of TDependentEntity)(Expression(Of Func(Of TDependentEntity, Object)))

Inherited from Microsoft.EntityFrameworkCore.Tests.ModelBuilderTest.TestReferenceReferenceBuilder<TEntity, TRelatedEntity>

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[])

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

Inherited from Microsoft.EntityFrameworkCore.Tests.ModelBuilderTest.TestReferenceReferenceBuilder<TEntity, TRelatedEntity>

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

Inherited from Microsoft.EntityFrameworkCore.Tests.ModelBuilderTest.TestReferenceReferenceBuilder<TEntity, TRelatedEntity>

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

Inherited from Microsoft.EntityFrameworkCore.Tests.ModelBuilderTest.TestReferenceReferenceBuilder<TEntity, TRelatedEntity>

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)

Inherited from Microsoft.EntityFrameworkCore.Tests.ModelBuilderTest.TestReferenceReferenceBuilder<TEntity, TRelatedEntity>

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)

MemberwiseClone() MemberwiseClone()

Inherited from System.Object

Metadata Metadata

Inherited from Microsoft.EntityFrameworkCore.Tests.ModelBuilderTest.TestReferenceReferenceBuilder<TEntity, TRelatedEntity>

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)

OnDelete(DeleteBehavior) OnDelete(DeleteBehavior)

Inherited from Microsoft.EntityFrameworkCore.Tests.ModelBuilderTest.TestReferenceReferenceBuilder<TEntity, TRelatedEntity>

ReferenceEquals(Object, Object) ReferenceEquals(Object, Object)

Inherited from System.Object

ToString() ToString()

Inherited from System.Object

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