次の方法で共有


ColumnBuilder.Geometry メソッド

定義

オーバーロード

Geometry(Nullable<Boolean>, DbGeometry, String, String, String, IDictionary<String,AnnotationValues>)

ジオメトリ データを格納する新しい列定義を作成します。

Entity Framework Migrations API は、信頼されていないソース (アプリケーションのエンド ユーザーなど) によって提供される入力を受け入れるようには設計されていません。 このようなソースから入力を受け入れる場合は、SQL インジェクション攻撃などから保護するために、これらの API に渡される前に検証する必要があります。

Geometry(Nullable<Boolean>, DbGeometry, String, String, String)

ジオメトリ データを格納する新しい列定義を作成します。

Geometry(Nullable<Boolean>, DbGeometry, String, String, String, IDictionary<String,AnnotationValues>)

ジオメトリ データを格納する新しい列定義を作成します。

Entity Framework Migrations API は、信頼されていないソース (アプリケーションのエンド ユーザーなど) によって提供される入力を受け入れるようには設計されていません。 このようなソースから入力を受け入れる場合は、SQL インジェクション攻撃などから保護するために、これらの API に渡される前に検証する必要があります。

[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1026:DefaultParametersShouldNotBeUsed")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1822:MarkMembersAsStatic")]
public System.Data.Entity.Migrations.Model.ColumnModel Geometry(Nullable<bool> nullable = null, System.Data.Entity.Spatial.DbGeometry defaultValue = null, string defaultValueSql = null, string name = null, string storeType = null, System.Collections.Generic.IDictionary<string,System.Data.Entity.Infrastructure.Annotations.AnnotationValues> annotations = null);
member this.Geometry : Nullable<bool> * System.Data.Entity.Spatial.DbGeometry * string * string * string * System.Collections.Generic.IDictionary<string, System.Data.Entity.Infrastructure.Annotations.AnnotationValues> -> System.Data.Entity.Migrations.Model.ColumnModel
Public Function Geometry (Optional nullable As Nullable(Of Boolean) = null, Optional defaultValue As DbGeometry = null, Optional defaultValueSql As String = null, Optional name As String = null, Optional storeType As String = null, Optional annotations As IDictionary(Of String, AnnotationValues) = null) As ColumnModel

パラメーター

nullable
Nullable<Boolean>

列で null 値が許可されるかどうかを示す値。

defaultValue
DbGeometry

この列の既定値として使用する定数値。

defaultValueSql
String

この列の既定値として使用される SQL 式。

name
String

列の名前。

storeType
String

この列に使用するプロバイダー固有のデータ型。

annotations
IDictionary<String,AnnotationValues>

カスタム注釈は通常、Code First モデルから取得されます。

戻り値

新しく構築された列定義。

属性

適用対象

Geometry(Nullable<Boolean>, DbGeometry, String, String, String)

ジオメトリ データを格納する新しい列定義を作成します。

public System.Data.Entity.Migrations.Model.ColumnModel Geometry(Nullable<bool> nullable = null, System.Data.Spatial.DbGeometry defaultValue = null, string defaultValueSql = null, string name = null, string storeType = null);
member this.Geometry : Nullable<bool> * System.Data.Spatial.DbGeometry * string * string * string -> System.Data.Entity.Migrations.Model.ColumnModel
Public Function Geometry (Optional nullable As Nullable(Of Boolean) = null, Optional defaultValue As DbGeometry = null, Optional defaultValueSql As String = null, Optional name As String = null, Optional storeType As String = null) As ColumnModel

パラメーター

nullable
Nullable<Boolean>

列で null 値が許可されるかどうかを示す値。

defaultValue
DbGeometry

この列の既定値として使用する定数値。

defaultValueSql
String

この列の既定値として使用される SQL 式。

name
String

列の名前。

storeType
String

この列に使用するプロバイダー固有のデータ型。

戻り値

新しく構築された列定義。

適用対象