Пример #1
0
        /// <summary>
        /// Create and check the Db context.
        /// </summary>
        /// <returns></returns>
        protected AppDbContext CreateAndCheckDbContext(bool prod = false)
        {
            AppDbContext dbctx = DbUtil.CreateDbContext(prod);

            Assert.NotEqual(null, dbctx);
            return(dbctx);
        }