IRelationalParameter 介面
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
一個參數 IRelationalCommand。 請注意,這個介面只是參數的佔位符,並非實際值。 這是因為同一指令可以重複使用,但參數值不同。
此類型通常由資料庫提供者(及其他擴充功能)使用。 它通常不被用於應用程式程式碼中。
public interface IRelationalParameter
type IRelationalParameter = interface
Public Interface IRelationalParameter
備註
更多資訊與範例請參見 資料庫提供者與擴充功能的實作 。
屬性
| 名稱 | Description |
|---|---|
| InvariantName |
參數的名稱。 |
方法
| 名稱 | Description |
|---|---|
| AddDbParameter(DbCommand, IReadOnlyDictionary<String,Object>) |
將參數加為 a DbParameter 到 DbCommand。 |
| AddDbParameter(DbCommand, Object) |
將參數加為 a DbParameter 到 DbCommand。 |