IRelationalCommandTemplate 介面
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
一個用來填充或 IRelationalCommand 建立 DbCommand
此類型通常由資料庫提供者(及其他擴充功能)使用。 它通常不被用於應用程式程式碼中。
public interface IRelationalCommandTemplate
type IRelationalCommandTemplate = interface
Public Interface IRelationalCommandTemplate
- 衍生
備註
更多資訊與範例請參見 資料庫提供者與擴充功能的實作 。
屬性
| 名稱 | Description |
|---|---|
| CommandText |
會取得要複製到目標指令的指令文字。 |
| LogCommandText |
會取得要記錄的指令文字。 |
| Parameters |
取得要複製到目的地指令的參數。 |
方法
| 名稱 | Description |
|---|---|
| CreateDbCommand(RelationalCommandParameterObject, Guid, DbCommandMethod) |
執行方法呼叫以建立給定DbConnection的 aDbCommand,並設定逾時與交易。 此方法通常由資料庫提供者(及其他擴充)使用。 它通常不被用於應用程式程式碼中。 |