IRelationalCommandBuilder 介面
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
建立一個指令,對關聯式資料庫執行。
此類型通常由資料庫提供者(及其他擴充功能)使用。 它通常不被用於應用程式程式碼中。
public interface IRelationalCommandBuilder : Microsoft.EntityFrameworkCore.Infrastructure.IInfrastructure<Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder>
public interface IRelationalCommandBuilder
type IRelationalCommandBuilder = interface
interface IInfrastructure<IndentedStringBuilder>
type IRelationalCommandBuilder = interface
Public Interface IRelationalCommandBuilder
Implements IInfrastructure(Of IndentedStringBuilder)
Public Interface IRelationalCommandBuilder
- 衍生
- 實作
-
IInfrastructure<Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder>
備註
更多資訊與範例請參見 資料庫提供者與擴充功能的實作 。
屬性
| 名稱 | Description |
|---|---|
| CommandTextLength |
能取得指令文字的長度。 |
| Instance |
取得隱藏財產的價值。 (繼承來源 IInfrastructure<T>) |
| ParameterBuilder |
建立與此指令相關的參數。 |
| Parameters |
參數的集合。 |
| TypeMappingSource |
已淘汰.
使用 S 的來源 RelationalTypeMapping。 |
方法
| 名稱 | Description |
|---|---|
| AddParameter(IRelationalParameter) |
將給定參數加入此指令。 |
| Append(FormattableString, Boolean) |
在指令文本中附加物件。 |
| Append(Object) |
在指令文本中附加物件。 |
| Append(String, Boolean) |
在指令文本中附加物件。 |
| Append(String) |
在指令文本中附加物件。 |
| AppendLine() |
在指令文字後附加一行空白。 |
| Build() |
建立指令。 |
| DecrementIndent() |
減少後續行的縮排。 |
| IncrementIndent() |
遞增後續行的縮排。 |
| RemoveParameterAt(Int32) |
移除此指令中帶有該索引的參數。 |