Example #1
0
 public virtual void NewConnection()
 {
     try
     {
         if (dataBase == null)
         {
             dataBase = new SSprintContext();
         }
         else
         {
             throw threadConflictException;
         }
     }
     catch
     {
         throw connectionException;
     }
 }
Example #2
0
 public virtual void FinalizeBase()
 {
     dataBase = null;
 }