Пример #1
0
        public void CreateQuartzSchedulerDatabase(string ConnectionStr)
        {
            if (ConnectionStr == string.Empty)
            {
                ConnectionStr = "data source=localhost;initial catalog=Quartz;integrated security=True";
            }
            QuartzScheduler context = new QuartzScheduler(ConnectionStr);

            context.CreateDatabase();
        }