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