AlterTableOperation コンストラクター
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
AlterTableOperation クラスの新しいインスタンスを初期化します。 Entity Framework Migrations API は、信頼されていないソース (アプリケーションのエンド ユーザーなど) によって提供される入力を受け入れるようには設計されていません。 このようなソースから入力を受け入れる場合は、SQL インジェクション攻撃などから保護するために、これらの API に渡される前に検証する必要があります。
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1026:DefaultParametersShouldNotBeUsed")]
public AlterTableOperation(string name, System.Collections.Generic.IDictionary<string,System.Data.Entity.Infrastructure.Annotations.AnnotationValues> annotations, object anonymousArguments = null);
new System.Data.Entity.Migrations.Model.AlterTableOperation : string * System.Collections.Generic.IDictionary<string, System.Data.Entity.Infrastructure.Annotations.AnnotationValues> * obj -> System.Data.Entity.Migrations.Model.AlterTableOperation
Public Sub New (name As String, annotations As IDictionary(Of String, AnnotationValues), Optional anonymousArguments As Object = null)
パラメーター
- name
- String
注釈が変更されたテーブルの名前。
- annotations
- IDictionary<String,AnnotationValues>
変更されたテーブルのカスタム注釈。
- anonymousArguments
- Object
プロバイダーによって処理される可能性がある追加の引数。 "new { SampleArgument = "MyValue" }' などの引数を指定するには、匿名型構文を使用します。
- 属性