コード例 #1
0
 public JobDescriptionData Get(int id)
 {
     using (section8Entities entities = new section8Entities())
     {
         return(entities.JobDescriptionDatas.FirstOrDefault(e => e.ID == id));
     }
 }
コード例 #2
0
 public DropDownFilter Get(int id)
 {
     using (section8Entities entities = new section8Entities())
     {
         return(entities.DropDownFilters.FirstOrDefault(e => e.ID == id));
     }
 }
コード例 #3
0
 public IEnumerable <JobDescriptionData> Get()
 {
     using (section8Entities entities = new section8Entities())
     {
         return(entities.JobDescriptionDatas.ToList());
     }
 }
コード例 #4
0
 public IEnumerable <DropDownFilter> Get()
 {
     using (section8Entities entities = new section8Entities())
     {
         return(entities.DropDownFilters.ToList());
     }
 }