public Student(IExternalCode externalCode, int studentId, List <Course> studies, List <Book> ownsBooks, int cpr, string name, int age) : base(externalCode, cpr, name, age) { this.StudentId = studentId; this.Studies = studies; this.OwnsBooks = ownsBooks; CheckRequirements(); }
public Book(IExternalCode externalCode, Author author, string title, string industryArea) { ExternalCode = externalCode; this.Author = author; this.Title = title; this.IndustryArea = industryArea; CheckRequirements(); }
public Person(IExternalCode externalCode, int cpr, string name, int age) { ExternalCode = externalCode; this.Cpr = cpr; this.Name = name; this.Age = age; CheckRequirements(); }
public Course(IExternalCode externalCode, int dbId, Book mainBook, List <Book> otherMaterial, Teacher taughtBy, string education) { ExternalCode = externalCode; this.DbId = dbId; this.MainBook = mainBook; this.OtherMaterial = otherMaterial; this.TaughtBy = taughtBy; this.Education = education; CheckRequirements(); }
public Teacher(IExternalCode externalCode, string education, int cpr, string name, int age) : base(externalCode, cpr, name, age) { this.Education = education; CheckRequirements(); }
public Author(IExternalCode externalCode, int cpr, string name, int age) : base(externalCode, cpr, name, age) { CheckRequirements(); }