ViewColumnBuilder<TProperty> Class

Definition

Instances of this class are returned from methods when using the ModelBuilder API and it is not designed to be directly constructed in your application code.

public class ViewColumnBuilder<TProperty> : Microsoft.EntityFrameworkCore.Metadata.Builders.ViewColumnBuilder, Microsoft.EntityFrameworkCore.Infrastructure.IInfrastructure<Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder<TProperty>>
type ViewColumnBuilder<'Property> = class
    inherit ViewColumnBuilder
    interface IInfrastructure<PropertyBuilder<'Property>>
Public Class ViewColumnBuilder(Of TProperty)
Inherits ViewColumnBuilder
Implements IInfrastructure(Of PropertyBuilder(Of TProperty))

Type Parameters

TProperty
Inheritance
ViewColumnBuilder<TProperty>
Implements

Constructors

ViewColumnBuilder<TProperty>(StoreObjectIdentifier, PropertyBuilder<TProperty>)

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

Properties

InternalOverrides

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

(Inherited from ViewColumnBuilder)
Overrides

The view-specific overrides being configured.

(Inherited from ViewColumnBuilder)

Methods

HasAnnotation(String, Object)

Adds or updates an annotation on the property for a specific view. If an annotation with the key specified in annotation already exists, its value will be updated.

HasColumnName(String)

Configures the column that the property maps to when targeting a relational database.

Explicit Interface Implementations

IInfrastructure<PropertyBuilder<TProperty>>.Instance
IInfrastructure<PropertyBuilder>.Instance (Inherited from ViewColumnBuilder)

Extension Methods

GetInfrastructure<T>(IInfrastructure<T>)

Gets the value from a property that is being hidden using IInfrastructure<T>.

This method is typically used by database providers (and other extensions). It is generally not used in application code.

Applies to