public SBResponsable GetById(int ID) { SBResponsable R = null; foreach (DataSet.ResponsableRow Res in MyAdapter.GetById(ID)) { R = new SBResponsable(Res.Id, Res.Trigramme); } return(R); }
public SBResponsable GetByTri(string tri) { SBResponsable R = null; foreach (DataSet.ResponsableRow Res in MyAdapter.GetByTrigramme(tri)) { R = new SBResponsable(Res.Id, Res.Trigramme); } return(R); }