using PadApplication.DB; using PadApplication.Entites.DbModels; namespace PadApplication.Services; public class MesItemsNgnameManager : Repository { //当前类已经继承了 Repository 增、删、查、改的方法 public List GetMesItemsNgname() { return Db.Queryable() .Where(s => s.ItemType == "注塑") .ToList(); } }