DiscriminatorBuilder DiscriminatorBuilder Class

Syntax

Declaration

public class DiscriminatorBuilderPublic Class DiscriminatorBuilder

Inheritance Hierarchy

  • System.Object
    System.Object
  • DiscriminatorBuilder
    DiscriminatorBuilder

Inherited Members

ToString(),
ToString(),
Equals(Object),
Equals(Object),
Equals(Object, Object),
Equals(Object, Object),
ReferenceEquals(Object, Object),
ReferenceEquals(Object, Object),
GetHashCode(),
GetHashCode(),
GetType(),
GetType(),
MemberwiseClone()
MemberwiseClone()

Constructors summary

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.

Properties summary

Methods summary

Constructors

  • DiscriminatorBuilder(RelationalAnnotationsBuilder, Func<InternalEntityTypeBuilder, RelationalEntityTypeBuilderAnnotations>)
    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

    Property Value

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

    Property Value

Methods

  • 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<TEntity>(Object)
    HasValue(Of TEntity)(Object)
    public virtual DiscriminatorBuilder HasValue<TEntity>(object value)Public Overridable Function HasValue(Of TEntity)(value As Object) As DiscriminatorBuilder

    Parameters

    • value
      System.Object
      System.Object

    Returns

Details

Assembly

Microsoft.EntityFrameworkCore.Relational.dll