1.int search = (int) Enum.Friday;

2. var books =(from s in context.books

                       where s.Day == search

                       select s ).ToList();

 

posted on 2021-07-19 22:35  ♩♪♫♬  阅读(209)  评论(0)    收藏  举报