SqlitePropertyBuilderExtensions.ForSqliteHasSrid Methode

Definition

Überlädt

ForSqliteHasSrid(PropertyBuilder, Int32)
Veraltet.

Konfiguriert die SRID der Spalte, der die Eigenschaft zugeordnet ist, wenn SQLite als Ziel verwendet wird.

ForSqliteHasSrid(IConventionPropertyBuilder, Nullable<Int32>, Boolean)
Veraltet.

Konfiguriert die SRID der Spalte, der die Eigenschaft zugeordnet ist, wenn SQLite als Ziel verwendet wird.

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

Konfiguriert die SRID der Spalte, der die Eigenschaft zugeordnet ist, wenn SQLite als Ziel verwendet wird.

ForSqliteHasSrid(PropertyBuilder, Int32)

Achtung

Use HasSrid

Konfiguriert die SRID der Spalte, der die Eigenschaft zugeordnet ist, wenn SQLite als Ziel verwendet wird.

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

Parameter

propertyBuilder
PropertyBuilder

Der Generator für die eigenschaft, die konfiguriert wird.

srid
Int32

Die SRID.

Gibt zurück

Derselbe Generator instance, sodass mehrere Aufrufe verkettet werden können.

Attribute

Gilt für:

ForSqliteHasSrid(IConventionPropertyBuilder, Nullable<Int32>, Boolean)

Achtung

Use HasSrid

Konfiguriert die SRID der Spalte, der die Eigenschaft zugeordnet ist, wenn SQLite als Ziel verwendet wird.

[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

Parameter

propertyBuilder
IConventionPropertyBuilder

Der Generator für die eigenschaft, die konfiguriert wird.

srid
Nullable<Int32>

Die SRID.

fromDataAnnotation
Boolean

Gibt an, ob die Konfiguration mithilfe einer Datenanmerkung angegeben wurde.

Gibt zurück

Derselbe Generator instance, wenn die Konfiguration angewendet wurde, andernfallsnull.

Attribute

Gilt für:

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

Achtung

Use HasSrid

Konfiguriert die SRID der Spalte, der die Eigenschaft zugeordnet ist, wenn SQLite als Ziel verwendet wird.

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)

Typparameter

TProperty

Parameter

propertyBuilder
PropertyBuilder<TProperty>

Der Generator für die eigenschaft, die konfiguriert wird.

srid
Int32

Die SRID.

Gibt zurück

Derselbe Generator instance, sodass mehrere Aufrufe verkettet werden können.

Attribute

Gilt für: