-1
我有兩個表用戶表和DeviceTable,每當用戶寄存器devcieUUID存儲在DeviceTable中。在UserTable DeviceId DeviceTable的主鍵存儲在UserTable中。我想檢查deviceUUID是否存在於DeviceTable中,並使用linq以最快的方式將特定UserId分配給deviceId。使用linq快速登錄提取數據
用戶表
userId userName deviceId
1 xx1 2
2 dd2 3
3 cc3 4
DeviceTable
deviceId deviceUUID
1 xx1
2 dd2
3 cc3