DiscriminatorBuilder DiscriminatorBuilder Class

Definition

public class DiscriminatorBuilder
Public Class DiscriminatorBuilder
Inheritance
System.ObjectSystem.Object
DiscriminatorBuilderDiscriminatorBuilder

Constructors

DiscriminatorBuilder(RelationalAnnotationsBuilder, Func) DiscriminatorBuilder(RelationalAnnotationsBuilder, Func(Of InternalEntityTypeBuilder, RelationalEntityTypeBuilderAnnotations))

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public DiscriminatorBuilder(RelationalAnnotationsBuilder annotationsBuilder, Func<InternalEntityTypeBuilder, RelationalEntityTypeBuilderAnnotations> getRelationalEntityTypeBuilderAnnotations)
Public Sub New(annotationsBuilder As RelationalAnnotationsBuilder, getRelationalEntityTypeBuilderAnnotations As Func(Of InternalEntityTypeBuilder, RelationalEntityTypeBuilderAnnotations))
Parameters

Properties

AnnotationsBuilder AnnotationsBuilder

protected virtual RelationalAnnotationsBuilder AnnotationsBuilder { get; }
Protected Overridable ReadOnly Property AnnotationsBuilder As RelationalAnnotationsBuilder

EntityTypeBuilder EntityTypeBuilder

protected virtual InternalEntityTypeBuilder EntityTypeBuilder { get; }
Protected Overridable ReadOnly Property EntityTypeBuilder As InternalEntityTypeBuilder

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

HasValue(Object) HasValue(Object)

public virtual DiscriminatorBuilder HasValue(object value)
Public Overridable Function HasValue(value As Object) As DiscriminatorBuilder
Parameters
value
System.Object System.Object
Returns

HasValue(String, Object) HasValue(String, Object)

public virtual DiscriminatorBuilder HasValue(string entityTypeName, object value)
Public Overridable Function HasValue(entityTypeName As String, value As Object) As DiscriminatorBuilder
Parameters
entityTypeName
System.String System.String
value
System.Object System.Object
Returns

HasValue(Type, Object) HasValue(Type, Object)

public virtual DiscriminatorBuilder HasValue(Type entityType, object value)
Public Overridable Function HasValue(entityType As Type, value As Object) As DiscriminatorBuilder
Parameters
entityType
System.Type System.Type
value
System.Object System.Object
Returns

HasValue(Object) HasValue(Of TEntity)(Object)

public virtual DiscriminatorBuilder HasValue<TEntity>(object value)
Public Overridable Function HasValue(Of TEntity)(value As Object) As DiscriminatorBuilder
Type Parameters
TEntity
Parameters
value
System.Object System.Object
Returns

MemberwiseClone() MemberwiseClone()

Inherited from System.Object

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

Inherited from System.Object

ToString() ToString()

Inherited from System.Object