共用方式為


RelationalCommandParameterObject 結構

定義

RelationalCommand 執行方法的參數物件。

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

[System.Runtime.CompilerServices.IsReadOnly]
public readonly struct RelationalCommandParameterObject
public readonly struct RelationalCommandParameterObject
[<System.Runtime.CompilerServices.IsReadOnly>]
type RelationalCommandParameterObject = struct
type RelationalCommandParameterObject = struct
Public Structure RelationalCommandParameterObject
繼承
RelationalCommandParameterObject
屬性

備註

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

建構函式

RelationalCommandParameterObject(IRelationalConnection, IReadOnlyDictionary<String, Object>, DbContext, IDiagnosticsLogger<DbLoggerCategory.Database.Command>)
已淘汰.

為指定的參數建立新的參數物件。

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

RelationalCommandParameterObject(IRelationalConnection, IReadOnlyDictionary<String, Object>, IReadOnlyList<ReaderColumn>, DbContext, IDiagnosticsLogger<DbLoggerCategory.Database.Command>)

為指定的參數建立新的參數物件。

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

RelationalCommandParameterObject(IRelationalConnection, IReadOnlyDictionary<String, Object>, IReadOnlyList<ReaderColumn>, DbContext, IDiagnosticsLogger<DbLoggerCategory.Database.Command>, Boolean)

為指定的參數建立新的參數物件。

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

RelationalCommandParameterObject(IRelationalConnection, IReadOnlyDictionary<String, Object>, IReadOnlyList<ReaderColumn>, DbContext, IRelationalCommandDiagnosticsLogger)

為指定的參數建立新的參數物件。

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

RelationalCommandParameterObject(IRelationalConnection, IReadOnlyDictionary<String, Object>, IReadOnlyList<ReaderColumn>, DbContext, IRelationalCommandDiagnosticsLogger, Boolean)

為指定的參數建立新的參數物件。

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

RelationalCommandParameterObject(IRelationalConnection, IReadOnlyDictionary<String, Object>, IReadOnlyList<ReaderColumn>, DbContext, IRelationalCommandDiagnosticsLogger, Boolean, CommandSource)

為指定的參數建立新的參數物件。

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

RelationalCommandParameterObject(IRelationalConnection, IReadOnlyDictionary<String, Object>, IReadOnlyList<ReaderColumn>, DbContext, IRelationalCommandDiagnosticsLogger, CommandSource)

為指定的參數建立新的參數物件。

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

屬性

CommandSource

命令的來源。

Connection

命令執行所在的連接。

Context

目前的 DbContext 實例,如果不知道,則 null 為 。

DetailedErrorsEnabled

值,指出是否已啟用詳細的錯誤。

Logger

記錄器,如果沒有記錄器可用,則 null 為 。

ParameterValues

要使用的 SQL 參數值,如果沒有,則 null 為 。

ReaderColumns

如果讀取器需要緩衝,則為預期的資料行, null 否則為 。

適用於