Share via


SqlitePropertyBuilderExtensions.CanSetGeometricDimension Method

Definition

Returns a value indicating whether the given value can be set as the dimension for the column.

public static bool CanSetGeometricDimension (this Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionPropertyBuilder propertyBuilder, string dimension, bool fromDataAnnotation = false);
static member CanSetGeometricDimension : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionPropertyBuilder * string * bool -> bool
<Extension()>
Public Function CanSetGeometricDimension (propertyBuilder As IConventionPropertyBuilder, dimension As String, Optional fromDataAnnotation As Boolean = false) As Boolean

Parameters

propertyBuilder
IConventionPropertyBuilder

The builder for the property being configured.

dimension
String

The dimension.

fromDataAnnotation
Boolean

Indicates whether the configuration was specified using a data annotation.

Returns

true if the given value can be set as the dimension for the column.

Applies to