摘要:
我在使用关联表查询时,代码如下:var q = from s in DC.PRODUCT_PLAN_BATCH from c in s.PRODUCT_PLAN_ITEM from i in c.WORKPLAN_CODES where (strarray).Contains(i.NAME) && c.TIME_START >= dtstart && c.TIME_START <= dtend orderby c.TIME_START select new Info { 批次 = s.BAT_NO, 阶段 = i.NAME, 瓶数 = (int)s. 阅读全文