Поделиться через


SqlitePropertyBuilderExtensions.ForSqliteHasSrid Метод

Определение

Перегрузки

ForSqliteHasSrid(PropertyBuilder, Int32)
Устаревшие..

Настраивает SRID столбца, с которым сопоставляется свойство при нацеливание на SQLite.

ForSqliteHasSrid(IConventionPropertyBuilder, Nullable<Int32>, Boolean)
Устаревшие..

Настраивает SRID столбца, с которым сопоставляется свойство при нацеливание на SQLite.

ForSqliteHasSrid<TProperty>(PropertyBuilder<TProperty>, Int32)
Устаревшие..

Настраивает SRID столбца, с которым сопоставляется свойство при нацеливание на SQLite.

ForSqliteHasSrid(PropertyBuilder, Int32)

Внимание!

Use HasSrid

Настраивает SRID столбца, с которым сопоставляется свойство при нацеливание на SQLite.

public static Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder ForSqliteHasSrid (this Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder propertyBuilder, int srid);
[System.Obsolete("Use HasSrid")]
public static Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder ForSqliteHasSrid (this Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder propertyBuilder, int srid);
static member ForSqliteHasSrid : Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder * int -> Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder
[<System.Obsolete("Use HasSrid")>]
static member ForSqliteHasSrid : Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder * int -> Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder
<Extension()>
Public Function ForSqliteHasSrid (propertyBuilder As PropertyBuilder, srid As Integer) As PropertyBuilder

Параметры

propertyBuilder
PropertyBuilder

Построитель настраиваемого свойства.

srid
Int32

The SRID.

Возвращаемое значение

Один и тот же экземпляр построителя, чтобы можно было объединить несколько вызовов в цепочку.

Атрибуты

Применяется к

ForSqliteHasSrid(IConventionPropertyBuilder, Nullable<Int32>, Boolean)

Внимание!

Use HasSrid

Настраивает SRID столбца, с которым сопоставляется свойство при нацеливание на SQLite.

[System.Obsolete("Use HasSrid")]
public static Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionPropertyBuilder ForSqliteHasSrid (this Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionPropertyBuilder propertyBuilder, int? srid, bool fromDataAnnotation = false);
[<System.Obsolete("Use HasSrid")>]
static member ForSqliteHasSrid : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionPropertyBuilder * Nullable<int> * bool -> Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionPropertyBuilder
<Extension()>
Public Function ForSqliteHasSrid (propertyBuilder As IConventionPropertyBuilder, srid As Nullable(Of Integer), Optional fromDataAnnotation As Boolean = false) As IConventionPropertyBuilder

Параметры

propertyBuilder
IConventionPropertyBuilder

Построитель настраиваемого свойства.

srid
Nullable<Int32>

The SRID.

fromDataAnnotation
Boolean

Указывает, была ли конфигурация указана с помощью заметки к данным.

Возвращаемое значение

Тот же экземпляр построителя, если конфигурация была применена, в null противном случае .

Атрибуты

Применяется к

ForSqliteHasSrid<TProperty>(PropertyBuilder<TProperty>, Int32)

Внимание!

Use HasSrid

Настраивает SRID столбца, с которым сопоставляется свойство при нацеливание на SQLite.

public static Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder<TProperty> ForSqliteHasSrid<TProperty> (this Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder<TProperty> propertyBuilder, int srid);
[System.Obsolete("Use HasSrid")]
public static Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder<TProperty> ForSqliteHasSrid<TProperty> (this Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder<TProperty> propertyBuilder, int srid);
static member ForSqliteHasSrid : Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder<'Property> * int -> Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder<'Property>
[<System.Obsolete("Use HasSrid")>]
static member ForSqliteHasSrid : Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder<'Property> * int -> Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder<'Property>
<Extension()>
Public Function ForSqliteHasSrid(Of TProperty) (propertyBuilder As PropertyBuilder(Of TProperty), srid As Integer) As PropertyBuilder(Of TProperty)

Параметры типа

TProperty

Параметры

propertyBuilder
PropertyBuilder<TProperty>

Построитель настраиваемого свойства.

srid
Int32

The SRID.

Возвращаемое значение

Один и тот же экземпляр построителя, чтобы можно было объединить несколько вызовов в цепочку.

Атрибуты

Применяется к