static void Main(String[] args) { EFTracingProviderFactory.Register(); #if ORACLE Oracle(); #endif CreateInitialData(); Tracing(); ConcurrencyControl(); Modifying(); Querying(); Deleting(); LazyLoading(); Hierarchies(); Events(); Export(); Validation(); }
static ProjectsContext() { EFTracingProviderFactory.Register(); //Database.SetInitializer(new MigrateDatabaseToLatestVersion<ProjectsContext, Succinctly.Model.Migrations.Configuration>()); Database.SetInitializer <ProjectsContext>(null); }