ScaffoldingPropertyAnnotations Class

Definition

public class ScaffoldingPropertyAnnotations : Microsoft.EntityFrameworkCore.Metadata.RelationalPropertyAnnotations
type ScaffoldingPropertyAnnotations = class
    inherit RelationalPropertyAnnotations
Public Class ScaffoldingPropertyAnnotations
Inherits RelationalPropertyAnnotations
Inheritance
ScaffoldingPropertyAnnotations

Constructors

ScaffoldingPropertyAnnotations(IProperty)

Fields

ProviderFullAnnotationNames (Inherited from RelationalPropertyAnnotations)

Properties

Annotations

The RelationalAnnotations helper representing the IProperty to annotate.

(Inherited from RelationalPropertyAnnotations)
ColumnName

The name of the column to which the property is mapped.

(Inherited from RelationalPropertyAnnotations)
ColumnOrdinal
ColumnType

The database type of the column to which the property is mapped.

(Inherited from RelationalPropertyAnnotations)
ComputedColumnSql

The computed constraint SQL expression that should be used when creating a column for this property.

(Inherited from RelationalPropertyAnnotations)
DefaultValue

The default value to use in the definition of the column when creating a column for this property.

(Inherited from RelationalPropertyAnnotations)
DefaultValueSql

The default constraint SQL expression that should be used when creating a column for this property.

(Inherited from RelationalPropertyAnnotations)
IsFixedLength

A flag indicating if the property as capable of storing only fixed-length data, such as strings.

(Inherited from RelationalPropertyAnnotations)
Property

The IProperty to annotate.

(Inherited from RelationalPropertyAnnotations)
ShouldThrowOnConflict

Indicates whether or not an exception should be thrown if conflicting configuration is set. This is typically overridden when building using a fluent API to implement last call wins semantics.

(Inherited from RelationalPropertyAnnotations)
ShouldThrowOnInvalidConfiguration

Indicates whether or not an exception should be thrown if invalid configuration is set.

(Inherited from RelationalPropertyAnnotations)

Methods

CanSetComputedColumnSql(String)

Determines whether or not ComputedColumnSql can be set without conflict.

This method may throw if ShouldThrowOnConflict returns true.

(Inherited from RelationalPropertyAnnotations)
CanSetDefaultValue(Object)

Determines whether or not DefaultValue can be set without conflict.

This method may throw if ShouldThrowOnConflict returns true.

(Inherited from RelationalPropertyAnnotations)
CanSetDefaultValueSql(String)

Determines whether or not DefaultValueSql can be set without conflict.

This method may throw if ShouldThrowOnConflict returns true.

(Inherited from RelationalPropertyAnnotations)
ClearAllServerGeneratedValues()

Clears any values set for DefaultValue, DefaultValueSql, and ComputedColumnSql.

(Inherited from RelationalPropertyAnnotations)
GetAnnotations(IEntityType)

Gets a RelationalEntityTypeAnnotations instance for the given IEntityType maintaining the RelationalAnnotations semantics being used by this instance to control setting annotations by convention.

(Inherited from RelationalPropertyAnnotations)
GetAnnotations(IProperty)

Gets a RelationalPropertyAnnotations instance for the given IProperty maintaining the RelationalAnnotations semantics being used by this instance to control setting annotations by convention.

(Inherited from RelationalPropertyAnnotations)
GetComputedColumnSql(Boolean)

Gets the computed constraint SQL expression that should be used when creating a column for this property.

(Inherited from RelationalPropertyAnnotations)
GetDefaultValue(Boolean)

Gets the default value to use in the definition of the column when creating a column for this property.

(Inherited from RelationalPropertyAnnotations)
GetDefaultValueSql(Boolean)

Gets the default constraint SQL expression that should be used when creating a column for this property.

(Inherited from RelationalPropertyAnnotations)
SetColumnName(String)

Attempts to set the ColumnName using the semantics of the RelationalAnnotations in use.

(Inherited from RelationalPropertyAnnotations)
SetColumnType(String)

Attempts to set the ColumnType using the semantics of the RelationalAnnotations in use.

(Inherited from RelationalPropertyAnnotations)
SetComputedColumnSql(String)

Attempts to set the ComputedColumnSql using the semantics of the RelationalAnnotations in use.

(Inherited from RelationalPropertyAnnotations)
SetDefaultValue(Object)

Attempts to set the DefaultValue using the semantics of the RelationalAnnotations in use.

(Inherited from RelationalPropertyAnnotations)
SetDefaultValueSql(String)

Attempts to set the DefaultValueSql using the semantics of the RelationalAnnotations in use.

(Inherited from RelationalPropertyAnnotations)
SetFixedLength(Boolean)

Configures the property as capable of storing only fixed-length data, such as strings.

(Inherited from RelationalPropertyAnnotations)

Applies to