Example #1
0
        public void Fails_Without_Triggers()
        {
            var serviceProvider = ServiceCollectionInstance.BuildServiceProvider();

            CommonTestFunction(serviceProvider, context =>
            {
                context.Database.EnsureCreated();
            });
        }
Example #2
0
        public void Works_With_Triggers()
        {
            var serviceProvider = ServiceCollectionInstance.BuildServiceProvider();

            CommonTestFunction(serviceProvider, context =>
            {
                context.Database.EnsureCreated();
                InitializeTriggers(context);
            });
        }