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
參數類型的小數位數。
適用於
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應