Прочетете на английски

Споделяне чрез


SqlitePropertyExtensions.SetGeometricDimension Method

Definition

Overloads

SetGeometricDimension(IMutableProperty, String)

Sets the dimension to use when creating a column for this property.

SetGeometricDimension(IConventionProperty, String, Boolean)

Sets the dimension to use when creating a column for this property.

SetGeometricDimension(IMutableProperty, String)

Source:
SqlitePropertyExtensions.cs
Source:
SqlitePropertyExtensions.cs

Sets the dimension to use when creating a column for this property.

C#
public static void SetGeometricDimension (this Microsoft.EntityFrameworkCore.Metadata.IMutableProperty property, string value);

Parameters

property
IMutableProperty

The property.

value
String

The dimension.

Applies to

Entity Framework Core 3.1 и Entity Framework Core 3.0
Продукт Версии
Entity Framework Core 3.0, 3.1

SetGeometricDimension(IConventionProperty, String, Boolean)

Source:
SqlitePropertyExtensions.cs
Source:
SqlitePropertyExtensions.cs

Sets the dimension to use when creating a column for this property.

C#
public static void SetGeometricDimension (this Microsoft.EntityFrameworkCore.Metadata.IConventionProperty property, string value, bool fromDataAnnotation = false);

Parameters

property
IConventionProperty

The property.

value
String

The dimension.

fromDataAnnotation
Boolean

Indicates whether the configuration was specified using a data annotation.

Applies to

Entity Framework Core 3.1 и Entity Framework Core 3.0
Продукт Версии
Entity Framework Core 3.0, 3.1