Ejemplo n.º 1
0
 private void InitializeDAL()
 {
     var kernel = new StandardKernel();
     var assembly = this.GetWebConfigAs<string>("DAL.Assembly");
     kernel.Load(Assembly.Load(assembly));
     DALFactory = kernel.Get<IDALFactory>();
 }
Ejemplo n.º 2
0
        private void InitializeDAL()
        {
            var kernel   = new StandardKernel();
            var assembly = this.GetWebConfigAs <string>("DAL.Assembly");

            kernel.Load(Assembly.Load(assembly));
            DALFactory = kernel.Get <IDALFactory>();
        }