Ejemplo n.º 1
0
 public ClassDetails(int id, int group, ClassType type, BasicClass bclass, EducationForm educationform)
 {
     this.mID = id;
     this.mGroup = group;
     this.mType = type;
     this.mBClass = bclass;
     this.mEducationForm = educationform;
     //this.mDetailed = detailed;
 }
Ejemplo n.º 2
0
 private void ImportClassTypes(ref OleDbConnection connection)
 {
     string ClassTypesSelect = "SELECT [ClassType Id] AS ID, [ClassType Name] AS Name, [ClassType SN] AS ShortName " +
                               "FROM [Code ClassType]";
     OleDbCommand command = new OleDbCommand(ClassTypesSelect, connection);
     using (OleDbDataReader dataReader = command.ExecuteReader())
     {
         while (dataReader.Read())
         {
             ClassType classType = new ClassType(
                 int.Parse(dataReader["ID"].ToString()),
                 dataReader["Name"].ToString(),
                 dataReader["ShortName"].ToString());
             this.mTypes.Add(classType);
         }
     }
 }
Ejemplo n.º 3
0
 public ClassDetails(int id, int group, ClassType type, BasicClass bclass, EducationForm educationform, Class detailed)
     : this(id, group, type, bclass, educationform)
 {
     this.SetDetailed(detailed);
 }