我必须查询并且需要将两者合并为一个结果,我已经尝试过使用 Union 和 Concat,但没有成功:
Dim PayPalPurchases = (From p In ctx.PayPalAPI Where p.Users.Email = userEmail Select
KeyPay = p.pay_key,
PurchaseDate = p.payment_request_date,
Result = p.status,
item_sku = p.memo,
price = p.transaction_amount).ToList
Dim licenze = (From lic In ctx.Licenses Where lic.Users.Email = userEmail
Select KeyPay = lic.Note,
PurchaseDate = lic.Date,
Result = "Free",
item_sku = lic.Sku,
price = 0)