Share via


IRelationalParameter 介面

定義

中的 IRelationalCommand 參數。 請注意,此介面只代表參數的預留位置,而不是實際值。 這是因為相同的命令可以使用不同的參數值多次重複使用。

此類型通常是由資料庫提供者使用, (和其他延伸模組) 。 它通常不會用於應用程式程式碼中。

public interface IRelationalParameter
type IRelationalParameter = interface
Public Interface IRelationalParameter

備註

如需詳細資訊和範例,請參閱 資料庫提供者和延伸模組的實作

屬性

InvariantName

參數名稱。

方法

AddDbParameter(DbCommand, IReadOnlyDictionary<String,Object>)

將 參數新增為 DbParameterDbCommand

AddDbParameter(DbCommand, Object)

將 參數新增為 DbParameterDbCommand

適用於