語言

IRelationalParameter 介面

定義

一個參數 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。

適用於