public void Create(Classification pClassification)
        {
            Database db = GetDataBase();

            db.classificationTB.InsertOnSubmit(pClassification);
            db.SubmitChanges();
        }
        public void Delete(Classification pClassification)
        {
            Database db = GetDataBase();
            var query = from clf in db.classificationTB where clf.idClassification == clf.idClassification select clf;
            db.classificationTB.DeleteOnSubmit(query.ToList()[0]);

            db.SubmitChanges();
        }
 public void Update(Classification pClassification)
 {
     Database db = GetDataBase();
     var query = from clf in db.classificationTB
                 where clf.idClassification == pClassification.idClassification
                 select clf;
     var clfDoBanco = query.ToList()[0];
     clfDoBanco.name = pClassification.name;
 }