ParameterBuilder.Geometry(DbGeometry, String, String, String, Boolean) メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
ジオメトリ データを渡す新しいパラメーター定義を作成します。
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.ParameterModel Geometry(System.Data.Entity.Spatial.DbGeometry defaultValue = null, string defaultValueSql = null, string name = null, string storeType = null, bool outParameter = false);
member this.Geometry : System.Data.Entity.Spatial.DbGeometry * string * string * string * bool -> System.Data.Entity.Migrations.Model.ParameterModel
Public Function Geometry (Optional defaultValue As DbGeometry = null, Optional defaultValueSql As String = null, Optional name As String = null, Optional storeType As String = null, Optional outParameter As Boolean = false) As ParameterModel
パラメーター
- defaultValue
- DbGeometry
このパラメーターの既定値として使用する定数値。
- defaultValueSql
- String
このパラメーターの既定値として使用される SQL 式。
- name
- String
パラメーターの名前。
- storeType
- String
このパラメーターに使用するプロバイダー固有のデータ型。
- outParameter
- Boolean
パラメーターが出力パラメーターかどうかを示す値。
戻り値
新しく構築されたパラメーター定義。
- 属性