コード例 #1
0
        internal IntegrationTestBase()
        {
            // Use LocalDB for Entity Framework by default
            // Database.DefaultConnectionFactory = new SqlConnectionFactory("Data Source=(localdb)\\v11.0; Integrated Security=True; MultipleActiveResultSets=True");

            MegaMediaManagerContextInitializer.Init(false);
        }
コード例 #2
0
        /// <summary>
        /// Initializes a new instance of the PresentationTestBase class.
        /// </summary>
        public PresentationTestBase()
        {
            AutoMapperConfig.Start();

            MegaMediaManagerContextInitializer.Init(true);
        }