public void Setup() { this.context = new LibrusDataContext(this.connString); if (this.context.DatabaseExists()) { this.context.DeleteDatabase(); } this.context.CreateDatabase(); }
public ClassRepository(LibrusDataContext context) { this.context = context; }
public void Clean() { this.context.Dispose(); this.context = null; }
public PresenceRepository(LibrusDataContext context) { this.context = context; }
public StudentRepository(LibrusDataContext context) { this.context = context; }
public TimeTableRepository(LibrusDataContext context) { this.context = context; }
public SubjectRepository(LibrusDataContext context) { this.context = context; }