public SBTache GetById(int id) { SBTache T = null; foreach (DataSet.TacheRow Ta in MyAdapter.GetById(id)) { T = new SBTache(Ta.Id, Ta.Nom, Ta.Description, Ta.Responsable, Ta.Jalon, Ta.Jour, Ta.Precedente, Ta.Etat, Ta.DatePrevu, Ta.Debut); } return(T); }
public void UpdateTache(SBTache T) { MyAdapter.UpdateTache(T.Nom, T.Description, T.Responsable, T.Jalon, T.NbJour, T.TachePrecedente, T.Etat, T.DatePrevu, T.DateReelle, T.Id); }