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)

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

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

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

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

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

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

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

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

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

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

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

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

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)

IsRequired(Boolean) IsRequired(Boolean)

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

MemberwiseClone() MemberwiseClone()

Inherited from System.Object

Metadata Metadata

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

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)

OnDelete(DeleteBehavior) OnDelete(DeleteBehavior)

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

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

Inherited from System.Object

ToString() ToString()

Inherited from System.Object