SplitViewBuilder<TEntity> 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 SplitViewBuilder<TEntity> : Microsoft.EntityFrameworkCore.Metadata.Builders.SplitViewBuilder, Microsoft.EntityFrameworkCore.Infrastructure.IInfrastructure<Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder<TEntity>> where TEntity : class
type SplitViewBuilder<'Entity (requires 'Entity : null)> = class
    inherit SplitViewBuilder
    interface IInfrastructure<EntityTypeBuilder<'Entity>>
Public Class SplitViewBuilder(Of TEntity)
Inherits SplitViewBuilder
Implements IInfrastructure(Of EntityTypeBuilder(Of TEntity))

Type Parameters

TEntity

The entity type being configured.

Inheritance
SplitViewBuilder<TEntity>
Implements

Constructors

SplitViewBuilder<TEntity>(StoreObjectIdentifier, EntityTypeBuilder<TEntity>)

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

MappingFragment

The mapping fragment being configured.

(Inherited from SplitViewBuilder)
Name

The specified view name.

(Inherited from SplitViewBuilder)
Schema

The specified view schema.

(Inherited from SplitViewBuilder)

Methods

HasAnnotation(String, Object)

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

Property(String)

Maps the property to a column on the current view and returns an object that can be used to provide view-specific configuration if the property is mapped to more than one view.

(Inherited from SplitViewBuilder)
Property<TProperty>(Expression<Func<TEntity,TProperty>>)

Maps the property to a column on the current view and returns an object that can be used to provide view-specific configuration if the property is mapped to more than one view.

Property<TProperty>(String)

Maps the property to a column on the current view and returns an object that can be used to provide view-specific configuration if the property is mapped to more than one view.

(Inherited from SplitViewBuilder)

Explicit Interface Implementations

IInfrastructure<EntityTypeBuilder<TEntity>>.Instance
IInfrastructure<EntityTypeBuilder>.Instance (Inherited from SplitViewBuilder)

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