[英]Retrive Multiple Data Firebase in VB.Net
firebase如何取多個數據,我只知道取一個數據。
這是我的示例代碼。
Friend Class Employee_No_Fingerprint
Public Property code As Integer
Public Property last_name As String
Public Property first_name As String
Public Property middle_name As String
Public Property suffix As String
Public Property department_name As String
Public Property picture As String
Public Property fingerprint As String
Public Property upload As Integer
End Class
Private Sub GetAllEmployee()
Dim datEmployeeNoFingerprint As New Employee_No_Fingerprint()
Dim response As FirebaseResponse = clientFingerprint.Get("Employee_No_Fingerprint")
datEmployeeNoFingerprint = response.ResultAs(Of Employee_No_Fingerprint)()
End Sub
私有子 GetAllEmployee()
Dim load As FirebaseResponse = client.Get("Employee_No_Fingerprint")
Dim data As Dictionary(Of String, POJO_Export) = JsonConvert.DeserializeObject(Of Dictionary(Of String, POJO_Export))(load.Body.ToString())
結束子
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.