RelationalCommand 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
一個對關聯式資料庫執行的指令。
此類型通常由資料庫提供者(及其他擴充功能)使用。 它通常不被用於應用程式程式碼中。
[System.Runtime.CompilerServices.Nullable(0)]
public class RelationalCommand : Microsoft.EntityFrameworkCore.Storage.IRelationalCommand
public class RelationalCommand : Microsoft.EntityFrameworkCore.Storage.IRelationalCommand
[<System.Runtime.CompilerServices.Nullable(0)>]
type RelationalCommand = class
interface IRelationalCommand
interface IRelationalCommandTemplate
type RelationalCommand = class
interface IRelationalCommand
type RelationalCommand = class
interface IRelationalCommand
interface IRelationalCommandTemplate
Public Class RelationalCommand
Implements IRelationalCommand
- 繼承
-
RelationalCommand
- 屬性
- 實作
備註
更多資訊與範例請參見 資料庫提供者與擴充功能的實作 。
建構函式
| 名稱 | Description |
|---|---|
| RelationalCommand(RelationalCommandBuilderDependencies, String, IReadOnlyList<IRelationalParameter>) |
建構新的 RelationalCommand。 此類型通常由資料庫提供者(及其他擴充功能)使用。 它通常不被用於應用程式程式碼中。 |
| RelationalCommand(RelationalCommandBuilderDependencies, String, String, IReadOnlyList<IRelationalParameter>) |
建構新的 RelationalCommand。 此類型通常由資料庫提供者(及其他擴充功能)使用。 它通常不被用於應用程式程式碼中。 |
屬性
| 名稱 | Description |
|---|---|
| CommandText |
取得要執行的指令文字。 |
| Dependencies |
此服務的關聯提供者專屬相依關係。 |
| LogCommandText |
會取得要記錄的指令文字。 |
| Parameters |
取得指令的參數。 |