public void Delete(DALCategory e)
 {
     context.Set <Category>().Attach(e.GetORMEntity());
     context.Set <Category>().Remove(e.GetORMEntity());
 }
 public void UpDate(DALCategory e)
 {
     context.Entry(e.GetORMEntity()).State = EntityState.Modified;
 }
 public void Create(DALCategory e)
 {
     context.Set <Category>().Add(e.GetORMEntity());
 }