예제 #1
0
 public int Insert(KolabCore.Defect entity)
 {
     context.Defects.Add(entity);
     update();
     return entity.Id;
 }
예제 #2
0
 public int Update(KolabCore.Defect entity)
 {
     throw new NotImplementedException();
 }
예제 #3
0
 public void Delete(KolabCore.Defect entity)
 {
     context.Entry(entity).State = EntityState.Deleted;
     update();
 }