jjzjj

CalorificValue

全部标签

c# - LINQ 从 3 个表中选择 Dish/Images/ImageDish

我在从3个表中进行选择时遇到问题。我使用了3个表格,因为一个产品可以有多个图像。PrintDB然后我有我的LINQ。publicListGetDish(intdish){varquery=(frommindb.Dishjoiniindb.ImageDishonm.idDishequalsi.idDishjointindb.TypeDishonm.idTypeDishequalst.idTypeDishwherem.idTypeDish==dishselectnewDishModel(){Name=m.name,CalorificValue=m.calorificValue,Price=