RelationalCommandBuilder 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
建立一個指令,對關聯式資料庫執行。
此類型通常由資料庫提供者(及其他擴充功能)使用。 它通常不被用於應用程式程式碼中。
[System.Runtime.CompilerServices.Nullable(0)]
public class RelationalCommandBuilder : Microsoft.EntityFrameworkCore.Storage.IRelationalCommandBuilder
public class RelationalCommandBuilder : Microsoft.EntityFrameworkCore.Storage.IRelationalCommandBuilder
[<System.Runtime.CompilerServices.Nullable(0)>]
type RelationalCommandBuilder = class
interface IRelationalCommandBuilder
type RelationalCommandBuilder = class
interface IRelationalCommandBuilder
Public Class RelationalCommandBuilder
Implements IRelationalCommandBuilder
- 繼承
-
RelationalCommandBuilder
- 屬性
- 實作
備註
更多資訊請參閱 資料庫提供者與擴充功能的實作 。
建構函式
| 名稱 | Description |
|---|---|
| RelationalCommandBuilder(RelationalCommandBuilderDependencies) |
建構新的 RelationalCommand。 此類型通常由資料庫提供者(及其他擴充功能)使用。 它通常不被用於應用程式程式碼中。 |
屬性
| 名稱 | Description |
|---|---|
| CommandTextLength |
能取得指令文字的長度。 |
| Dependencies |
此服務的關聯提供者專屬相依關係。 |
| Parameters |
參數的集合。 |
| TypeMappingSource |
已淘汰.
使用 S 的來源 RelationalTypeMapping。 |
方法
| 名稱 | Description |
|---|---|
| AddParameter(IRelationalParameter) |
將給定參數加入此指令。 |
| Append(FormattableString, Boolean) |
在指令文本中附加物件。 |
| Append(Object) |
在指令文本中附加物件。 |
| Append(String, Boolean) |
在指令文本中附加物件。 |
| Append(String) |
在指令文本中附加物件。 |
| AppendLine() |
在指令文字後附加一行空白。 |
| Build() |
建立指令。 |
| DecrementIndent() |
減少後續行的縮排。 |
| IncrementIndent() |
遞增後續行的縮排。 |
| RemoveParameterAt(Int32) |
移除此指令中帶有該索引的參數。 |
| ToString() |
收到指令文字。 |