Freigeben über


SqlServerPropertyExtensions Class

Definition

Property extension methods for SQL Server-specific metadata.

public static class SqlServerPropertyExtensions
type SqlServerPropertyExtensions = class
Public Module SqlServerPropertyExtensions
Inheritance
SqlServerPropertyExtensions

Remarks

See Modeling entity types and relationships, and Accessing SQL Server and Azure SQL databases with EF Core for more information and examples.

Methods

FindHiLoSequence(IProperty, StoreObjectIdentifier)

Finds the ISequence in the model to use for the hi-lo pattern.

FindHiLoSequence(IProperty)

Finds the ISequence in the model to use for the hi-lo pattern.

FindHiLoSequence(IReadOnlyProperty, StoreObjectIdentifier)

Finds the ISequence in the model to use for the hi-lo pattern.

FindHiLoSequence(IReadOnlyProperty)

Finds the ISequence in the model to use for the hi-lo pattern.

FindSequence(IProperty, StoreObjectIdentifier)

Finds the ISequence in the model to use for the key value generation pattern.

FindSequence(IProperty)

Finds the ISequence in the model to use for the key value generation pattern.

FindSequence(IReadOnlyProperty, StoreObjectIdentifier)

Finds the ISequence in the model to use for the key value generation pattern.

FindSequence(IReadOnlyProperty)

Finds the ISequence in the model to use for the key value generation pattern.

GetHiLoSequenceName(IProperty, StoreObjectIdentifier)

Returns the name to use for the hi-lo sequence.

GetHiLoSequenceName(IProperty)

Returns the name to use for the hi-lo sequence.

GetHiLoSequenceName(IReadOnlyProperty, StoreObjectIdentifier)

Returns the name to use for the hi-lo sequence.

GetHiLoSequenceName(IReadOnlyProperty)

Returns the name to use for the hi-lo sequence.

GetHiLoSequenceNameConfigurationSource(IConventionProperty)

Returns the ConfigurationSource for the hi-lo sequence name.

GetHiLoSequenceSchema(IProperty, StoreObjectIdentifier)

Returns the schema to use for the hi-lo sequence.

GetHiLoSequenceSchema(IProperty)

Returns the schema to use for the hi-lo sequence.

GetHiLoSequenceSchema(IReadOnlyProperty, StoreObjectIdentifier)

Returns the schema to use for the hi-lo sequence.

GetHiLoSequenceSchema(IReadOnlyProperty)

Returns the schema to use for the hi-lo sequence.

GetHiLoSequenceSchemaConfigurationSource(IConventionProperty)

Returns the ConfigurationSource for the hi-lo sequence schema.

GetIdentityIncrement(IProperty, StoreObjectIdentifier)

Returns the identity increment.

GetIdentityIncrement(IProperty)

Returns the identity increment.

GetIdentityIncrement(IReadOnlyProperty, StoreObjectIdentifier)

Returns the identity increment.

GetIdentityIncrement(IReadOnlyProperty)

Returns the identity increment.

GetIdentityIncrement(IReadOnlyRelationalPropertyOverrides)

Returns the identity increment.

GetIdentityIncrementConfigurationSource(IConventionProperty, StoreObjectIdentifier)

Returns the ConfigurationSource for the identity increment for a particular table.

GetIdentityIncrementConfigurationSource(IConventionProperty)

Returns the ConfigurationSource for the identity increment.

GetIdentityIncrementConfigurationSource(IConventionRelationalPropertyOverrides)

Returns the ConfigurationSource for the identity increment for a particular table.

GetIdentitySeed(IProperty, StoreObjectIdentifier)

Returns the identity seed.

GetIdentitySeed(IProperty)

Returns the identity seed.

GetIdentitySeed(IReadOnlyProperty, StoreObjectIdentifier)

Returns the identity seed.

GetIdentitySeed(IReadOnlyProperty)

Returns the identity seed.

GetIdentitySeed(IReadOnlyRelationalPropertyOverrides)

Returns the identity seed.

GetIdentitySeedConfigurationSource(IConventionProperty, StoreObjectIdentifier)

Returns the ConfigurationSource for the identity seed for a particular table.

GetIdentitySeedConfigurationSource(IConventionProperty)

Returns the ConfigurationSource for the identity seed.

GetIdentitySeedConfigurationSource(IConventionRelationalPropertyOverrides)

Returns the ConfigurationSource for the identity seed for a particular table.

GetIsSparseConfigurationSource(IConventionProperty)

Returns the ConfigurationSource for whether the property's column is sparse.

GetSequenceName(IReadOnlyProperty, StoreObjectIdentifier)

Returns the name to use for the key value generation sequence.

GetSequenceName(IReadOnlyProperty)

Returns the name to use for the key value generation sequence.

GetSequenceNameConfigurationSource(IConventionProperty)

Returns the ConfigurationSource for the key value generation sequence name.

GetSequenceSchema(IReadOnlyProperty, StoreObjectIdentifier)

Returns the schema to use for the key value generation sequence.

GetSequenceSchema(IReadOnlyProperty)

Returns the schema to use for the key value generation sequence.

GetSequenceSchemaConfigurationSource(IConventionProperty)

Returns the ConfigurationSource for the key value generation sequence schema.

GetValueGenerationStrategy(IProperty, StoreObjectIdentifier)

Returns the SqlServerValueGenerationStrategy to use for the property.

If no strategy is set for the property, then the strategy to use will be taken from the IModel.

GetValueGenerationStrategy(IProperty)

Returns the SqlServerValueGenerationStrategy to use for the property.

If no strategy is set for the property, then the strategy to use will be taken from the IModel.

GetValueGenerationStrategy(IReadOnlyProperty, StoreObjectIdentifier)

Returns the SqlServerValueGenerationStrategy to use for the property.

GetValueGenerationStrategy(IReadOnlyProperty)

Returns the SqlServerValueGenerationStrategy to use for the property.

GetValueGenerationStrategy(IReadOnlyRelationalPropertyOverrides)

Returns the SqlServerValueGenerationStrategy to use for the property.

GetValueGenerationStrategyConfigurationSource(IConventionProperty, StoreObjectIdentifier)

Returns the ConfigurationSource for the SqlServerValueGenerationStrategy for a particular table.

GetValueGenerationStrategyConfigurationSource(IConventionProperty)

Returns the ConfigurationSource for the SqlServerValueGenerationStrategy.

GetValueGenerationStrategyConfigurationSource(IConventionRelationalPropertyOverrides)

Returns the ConfigurationSource for the SqlServerValueGenerationStrategy for a particular table.

IsCompatibleWithValueGeneration(IProperty)

Returns a value indicating whether the property is compatible with any SqlServerValueGenerationStrategy.

IsCompatibleWithValueGeneration(IReadOnlyProperty)

Returns a value indicating whether the property is compatible with any SqlServerValueGenerationStrategy.

IsSparse(IReadOnlyProperty, StoreObjectIdentifier)

Returns a value indicating whether the property's column is sparse.

IsSparse(IReadOnlyProperty)

Returns a value indicating whether the property's column is sparse.

SetHiLoSequenceName(IConventionProperty, String, Boolean)

Sets the name to use for the hi-lo sequence.

SetHiLoSequenceName(IMutableProperty, String)

Sets the name to use for the hi-lo sequence.

SetHiLoSequenceSchema(IConventionProperty, String, Boolean)

Sets the schema to use for the hi-lo sequence.

SetHiLoSequenceSchema(IMutableProperty, String)

Sets the schema to use for the hi-lo sequence.

SetIdentityIncrement(IConventionProperty, Nullable<Int32>, Boolean)

Sets the identity increment.

SetIdentityIncrement(IConventionProperty, Nullable<Int32>, StoreObjectIdentifier, Boolean)

Sets the identity increment for a particular table.

SetIdentityIncrement(IConventionRelationalPropertyOverrides, Nullable<Int32>, Boolean)

Sets the identity increment for a particular table.

SetIdentityIncrement(IMutableProperty, Nullable<Int32>, StoreObjectIdentifier)

Sets the identity increment for a particular table.

SetIdentityIncrement(IMutableProperty, Nullable<Int32>)

Sets the identity increment.

SetIdentityIncrement(IMutableRelationalPropertyOverrides, Nullable<Int32>)

Sets the identity increment for a particular table.

SetIdentitySeed(IConventionProperty, Nullable<Int32>, Boolean)

Sets the identity seed.

SetIdentitySeed(IConventionProperty, Nullable<Int64>, Boolean)

Sets the identity seed.

SetIdentitySeed(IConventionProperty, Nullable<Int64>, StoreObjectIdentifier, Boolean)

Sets the identity seed for a particular table.

SetIdentitySeed(IConventionRelationalPropertyOverrides, Nullable<Int64>, Boolean)

Sets the identity seed for a particular table.

SetIdentitySeed(IMutableProperty, Nullable<Int32>)

Sets the identity seed.

SetIdentitySeed(IMutableProperty, Nullable<Int64>, StoreObjectIdentifier)

Sets the identity seed for a particular table.

SetIdentitySeed(IMutableProperty, Nullable<Int64>)

Sets the identity seed.

SetIdentitySeed(IMutableRelationalPropertyOverrides, Nullable<Int64>)

Sets the identity seed for a particular table.

SetIsSparse(IConventionProperty, Nullable<Boolean>, Boolean)

Sets a value indicating whether the property's column is sparse.

SetIsSparse(IMutableProperty, Nullable<Boolean>)

Sets a value indicating whether the property's column is sparse.

SetSequenceName(IConventionProperty, String, Boolean)

Sets the name to use for the key value generation sequence.

SetSequenceName(IMutableProperty, String)

Sets the name to use for the key value generation sequence.

SetSequenceSchema(IConventionProperty, String, Boolean)

Sets the schema to use for the key value generation sequence.

SetSequenceSchema(IMutableProperty, String)

Sets the schema to use for the key value generation sequence.

SetValueGenerationStrategy(IConventionProperty, Nullable<SqlServerValueGenerationStrategy>, Boolean)

Sets the SqlServerValueGenerationStrategy to use for the property.

SetValueGenerationStrategy(IConventionProperty, Nullable<SqlServerValueGenerationStrategy>, StoreObjectIdentifier, Boolean)

Sets the SqlServerValueGenerationStrategy to use for the property for a particular table.

SetValueGenerationStrategy(IConventionRelationalPropertyOverrides, Nullable<SqlServerValueGenerationStrategy>, Boolean)

Sets the SqlServerValueGenerationStrategy to use for the property for a particular table.

SetValueGenerationStrategy(IMutableProperty, Nullable<SqlServerValueGenerationStrategy>, StoreObjectIdentifier)

Sets the SqlServerValueGenerationStrategy to use for the property for a particular table.

SetValueGenerationStrategy(IMutableProperty, Nullable<SqlServerValueGenerationStrategy>)

Sets the SqlServerValueGenerationStrategy to use for the property.

SetValueGenerationStrategy(IMutableRelationalPropertyOverrides, Nullable<SqlServerValueGenerationStrategy>)

Sets the SqlServerValueGenerationStrategy to use for the property for a particular table.

Applies to