DbParameterLogData 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
初始化 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
參數類型的小數位數。