예제 #1
0
 public Resume GetResume(int id)
 {
     Resume info = new Resume();
     DBEntity db = new DBEntity();
     info = db.Resume.Where(w => w.Id == id).FirstOrDefault();
     return info;
 }
예제 #2
0
 public void Insert(Resume model)
 {
     DBEntity db = new DBEntity();
     db.Set<Resume>().Add(model);
     db.SaveChanges();
 }
예제 #3
0
 public void CreateDataBase()
 {
     DBEntity db = new DBEntity();
     db.Resume.FirstOrDefault();
 }