public UnitOfWork(string csName)
        {
            switch (csName)
            {
            case "lab":
                //NOTE accessing to database on unit tests IS ILLEGAL
                break;

            case "end-user":
                this.Cntx = new SmcsContext(ConStrProvider.GetEndUserConStr());
                break;

            default:
                throw new ApplicationException("Invalid ConStr on DbProvider ..");
            }
        }
 public DbSupplier(SmcsContext cntx)
 {
     this.cntx = cntx;
 }