Ejemplo n.º 1
0
        public DataSource(AppCore.IOC.IContainer container)
        {
            _container     = container;
            _logger        = _container?.TryResolve <Core.IEventLogger>();
            _objSerializer = _container?.TryResolve <AppCore.IObjectSerializer>();

            var connectionString = System.Configuration.ConfigurationManager.ConnectionStrings["SmsService"]?.ConnectionString;

            _dbPublic  = new PBL(connectionString);
            _dbMessage = new MSG(connectionString);
        }
Ejemplo n.º 2
0
        public DataSource(AppCore.IOC.IContainer container)
        {
            _container     = container;
            _objSerializer = _container.TryResolve <AppCore.IObjectSerializer>();

            var connectionString = System.Configuration.ConfigurationManager.ConnectionStrings["Azmoon"]?.ConnectionString;
        }
 public Service(AppCore.IOC.IContainer container)
 {
     _container        = container;
     _objectSerializer = container.TryResolve <AppCore.IObjectSerializer>();
 }