Exemplo n.º 1
0
        public void Setup()
        {
            this.context = new LibrusDataContext(this.connString);
            if (this.context.DatabaseExists())
            {
                this.context.DeleteDatabase();
            }

            this.context.CreateDatabase();
        }
Exemplo n.º 2
0
 public PresenceRepository(LibrusDataContext context)
 {
     this.context = context;
 }
Exemplo n.º 3
0
 public void Clean()
 {
     this.context.Dispose();
     this.context = null;
 }
Exemplo n.º 4
0
 public SubjectRepository(LibrusDataContext context)
 {
     this.context= context;
 }
Exemplo n.º 5
0
 public ClassRepository(LibrusDataContext context)
 {
     this.context = context;
 }
Exemplo n.º 6
0
 public TimeTableRepository(LibrusDataContext context)
 {
     this.context = context;
 }
Exemplo n.º 7
0
 public StudentRepository(LibrusDataContext context)
 {
     this.context = context;
 }