/*  public Jedi testBDD()
 {
     return data.testBDD();
 }*/
 public BusinessManager()
 {
     data =  DataAccessLayer.DalManager.Instance;
     if (StubDataAccessLayer.StubDalManager.Stub)
     {
         dataStub = new StubDataAccessLayer.StubDalManager();
     }
     else
     {
         dataStub = new StubDataAccessLayer.StubDalManager();
         AjoutTournoiExemple();
     }
 }
        /*  public Jedi testBDD()
         * {
         *    return data.testBDD();
         * }*/


        public BusinessManager()
        {
            data = DataAccessLayer.DalManager.Instance;
            if (StubDataAccessLayer.StubDalManager.Stub)
            {
                dataStub = new StubDataAccessLayer.StubDalManager();
            }
            else
            {
                dataStub = new StubDataAccessLayer.StubDalManager();
                AjoutTournoiExemple();
            }
        }
Example #3
0
        // private StubDataAccessLayer.StubDalManager data;

        /*  public Jedi testBDD()
         * {
         *    return data.testBDD();
         * }*/


        public BusinessManager()
        {
            data = DataAccessLayer.DalManager.Instance;
            //  data = new StubDataAccessLayer.StubDalManager();
        }
       // private StubDataAccessLayer.StubDalManager data;

      /*  public Jedi testBDD()
        {
            return data.testBDD();
        }*/


        public BusinessManager()
        {
            data =  DataAccessLayer.DalManager.Instance;
          //  data = new StubDataAccessLayer.StubDalManager();
        }