SqlServerPrimitiveCollectionBuilderExtensions Class

Definition

SQL Server specific extension methods for PrimitiveCollectionBuilder.

C#
public static class SqlServerPrimitiveCollectionBuilderExtensions
Inheritance
SqlServerPrimitiveCollectionBuilderExtensions

Remarks

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

Methods

IsSparse(PrimitiveCollectionBuilder, Boolean)

Configures whether the property's column is created as sparse when targeting SQL Server.

IsSparse<TProperty>(PrimitiveCollectionBuilder<TProperty>, Boolean)

Configures whether the property's column is created as sparse when targeting SQL Server.

Applies to

Product Versions
Entity Framework Core 8.0, 9.0