共用方式為


DbParameterLogData 建構函式

定義

初始化 DbParameterLogData 類別的新執行個體。

public DbParameterLogData (string name, object value, bool hasValue, System.Data.ParameterDirection direction, System.Data.DbType dbType, bool nullable, int size, byte precision, byte scale);
new Microsoft.EntityFrameworkCore.Storage.DbParameterLogData : string * obj * bool * System.Data.ParameterDirection * System.Data.DbType * bool * int * byte * byte -> Microsoft.EntityFrameworkCore.Storage.DbParameterLogData
Public Sub New (name As String, value As Object, hasValue As Boolean, direction As ParameterDirection, dbType As DbType, nullable As Boolean, size As Integer, precision As Byte, scale As Byte)

參數

name
String

參數名稱。

value
Object

參數的值。

hasValue
Boolean

值,指出參數具有值 (或指派 null) 。

direction
ParameterDirection

參數的方向。

dbType
DbType

參數的類型。

nullable
Boolean

值,指出參數類型是否可為 Null。

size
Int32

參數類型的大小。

precision
Byte

參數型別的有效位數。

scale
Byte

參數類型的小數位數。

適用於