Exemplo n.º 1
0
        /// <summary>
        /// Initialize objects before anything during the boot cycle happens
        /// </summary>
        /// <returns></returns>
        public override IBootManager Initialize()
        {
            base.Initialize();

            // initialize the AutoMapperMappings
            AutoMapperMappings.CreateMappings();

            return(this);
        }
Exemplo n.º 2
0
        /// <summary>
        /// Initialize objects before anything during the boot cycle happens
        /// </summary>
        /// <returns>The <see cref="IBootManager"/></returns>
        public override IBootManager Initialize(ApplicationContext context)
        {
            EnsureDatabase();

            base.Initialize(context);

            // initialize the AutoMapperMappings
            AutoMapperMappings.CreateMappings();



            return(this);
        }