public ENSubject(String name, ENCourse course) { cad = new CADSubject(); this.name = name; this.course = course; id = 0; }
public ENSubject() { course = new ENCourse(); cad = new CADSubject(); id = 0; }
public ENSubject Read(int idSubject) { cad = new CADSubject(); ENSubject ret = new ENSubject(); List<object> param = new List<object>(); param.Add((object)idSubject); ret.FromRow(cad.Select(param)); return ret; }