DropColumnOperation 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
DropColumnOperation(String, String, Object) |
初始化 DropColumnOperation 類別的新實例。 Entity Framework 移轉 API 的設計目的不是接受未受信任來源所提供的輸入, (例如應用程式的使用者) 。 如果從這類來源接受輸入,則應該先加以驗證,再傳遞至這些 API 以防止 SQL 插入式攻擊等。 |
DropColumnOperation(String, String, IDictionary<String,Object>, Object) |
初始化 DropColumnOperation 類別的新實例。 Entity Framework 移轉 API 的設計目的不是接受未受信任來源所提供的輸入, (例如應用程式的使用者) 。 如果從這類來源接受輸入,則應該先加以驗證,再傳遞至這些 API 以防止 SQL 插入式攻擊等。 |
DropColumnOperation(String, String, AddColumnOperation, Object) |
初始化 DropColumnOperation 類別的新實例。 Entity Framework 移轉 API 的設計目的不是接受未受信任來源所提供的輸入, (例如應用程式的使用者) 。 如果從這類來源接受輸入,則應該先加以驗證,再傳遞至這些 API 以防止 SQL 插入式攻擊等。 |
DropColumnOperation(String, String, IDictionary<String,Object>, AddColumnOperation, Object) |
初始化 DropColumnOperation 類別的新實例。 Entity Framework 移轉 API 的設計目的不是接受未受信任來源所提供的輸入, (例如應用程式的使用者) 。 如果從這類來源接受輸入,則應該先加以驗證,再傳遞至這些 API 以防止 SQL 插入式攻擊等。 |
DropColumnOperation(String, String, Object)
初始化 DropColumnOperation 類別的新實例。
Entity Framework 移轉 API 的設計目的不是接受未受信任來源所提供的輸入, (例如應用程式的使用者) 。 如果從這類來源接受輸入,則應該先加以驗證,再傳遞至這些 API 以防止 SQL 插入式攻擊等。
public DropColumnOperation (string table, string name, object anonymousArguments = null);
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1026:DefaultParametersShouldNotBeUsed")]
public DropColumnOperation (string table, string name, object anonymousArguments = null);
new System.Data.Entity.Migrations.Model.DropColumnOperation : string * string * obj -> System.Data.Entity.Migrations.Model.DropColumnOperation
Public Sub New (table As String, name As String, Optional anonymousArguments As Object = null)
參數
- table
- String
應該從中卸載資料行的資料表名稱。
- name
- String
要卸載的資料行名稱。
- anonymousArguments
- Object
提供者可能處理的其他引數。 使用匿名型別語法來指定引數,例如 'new { SampleArgument = 「MyValue」 }'。
- 屬性
適用於
DropColumnOperation(String, String, IDictionary<String,Object>, Object)
初始化 DropColumnOperation 類別的新實例。
Entity Framework 移轉 API 的設計目的不是接受未受信任來源所提供的輸入, (例如應用程式的使用者) 。 如果從這類來源接受輸入,則應該先加以驗證,再傳遞至這些 API 以防止 SQL 插入式攻擊等。
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1026:DefaultParametersShouldNotBeUsed")]
public DropColumnOperation (string table, string name, System.Collections.Generic.IDictionary<string,object> removedAnnotations, object anonymousArguments = null);
new System.Data.Entity.Migrations.Model.DropColumnOperation : string * string * System.Collections.Generic.IDictionary<string, obj> * obj -> System.Data.Entity.Migrations.Model.DropColumnOperation
Public Sub New (table As String, name As String, removedAnnotations As IDictionary(Of String, Object), Optional anonymousArguments As Object = null)
參數
- table
- String
應該從中卸載資料行的資料表名稱。
- name
- String
要卸載的資料行名稱。
- removedAnnotations
- IDictionary<String,Object>
存在於要卸載之資料行上的自訂批註。 可以是 Null 或空白。
- anonymousArguments
- Object
提供者可能處理的其他引數。 使用匿名型別語法來指定引數,例如 'new { SampleArgument = 「MyValue」 }'。
- 屬性
適用於
DropColumnOperation(String, String, AddColumnOperation, Object)
初始化 DropColumnOperation 類別的新實例。
Entity Framework 移轉 API 的設計目的不是接受未受信任來源所提供的輸入, (例如應用程式的使用者) 。 如果從這類來源接受輸入,則應該先加以驗證,再傳遞至這些 API 以防止 SQL 插入式攻擊等。
public DropColumnOperation (string table, string name, System.Data.Entity.Migrations.Model.AddColumnOperation inverse, object anonymousArguments = null);
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1026:DefaultParametersShouldNotBeUsed")]
public DropColumnOperation (string table, string name, System.Data.Entity.Migrations.Model.AddColumnOperation inverse, object anonymousArguments = null);
new System.Data.Entity.Migrations.Model.DropColumnOperation : string * string * System.Data.Entity.Migrations.Model.AddColumnOperation * obj -> System.Data.Entity.Migrations.Model.DropColumnOperation
Public Sub New (table As String, name As String, inverse As AddColumnOperation, Optional anonymousArguments As Object = null)
參數
- table
- String
應該從中卸載資料行的資料表名稱。
- name
- String
要卸載的資料行名稱。
- inverse
- AddColumnOperation
表示還原卸載作業的作業。
- anonymousArguments
- Object
提供者可能處理的其他引數。 使用匿名型別語法來指定引數,例如 'new { SampleArgument = 「MyValue」 }'。
- 屬性
適用於
DropColumnOperation(String, String, IDictionary<String,Object>, AddColumnOperation, Object)
初始化 DropColumnOperation 類別的新實例。
Entity Framework 移轉 API 的設計目的不是接受未受信任來源所提供的輸入, (例如應用程式的使用者) 。 如果從這類來源接受輸入,則應該先加以驗證,再傳遞至這些 API 以防止 SQL 插入式攻擊等。
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1026:DefaultParametersShouldNotBeUsed")]
public DropColumnOperation (string table, string name, System.Collections.Generic.IDictionary<string,object> removedAnnotations, System.Data.Entity.Migrations.Model.AddColumnOperation inverse, object anonymousArguments = null);
new System.Data.Entity.Migrations.Model.DropColumnOperation : string * string * System.Collections.Generic.IDictionary<string, obj> * System.Data.Entity.Migrations.Model.AddColumnOperation * obj -> System.Data.Entity.Migrations.Model.DropColumnOperation
Public Sub New (table As String, name As String, removedAnnotations As IDictionary(Of String, Object), inverse As AddColumnOperation, Optional anonymousArguments As Object = null)
參數
- table
- String
應該從中卸載資料行的資料表名稱。
- name
- String
要卸載的資料行名稱。
- removedAnnotations
- IDictionary<String,Object>
存在於要卸載之資料行上的自訂批註。 可以是 Null 或空白。
- inverse
- AddColumnOperation
表示還原卸載作業的作業。
- anonymousArguments
- Object
提供者可能處理的其他引數。 使用匿名型別語法來指定引數,例如 'new { SampleArgument = 「MyValue」 }'。
- 屬性