AB4227 - Moved Services and Migration
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
using System;
|
||||
using System.Data.Common;
|
||||
using System.Data.SqlServerCe;
|
||||
using Umbraco.Core;
|
||||
using Umbraco.Core.Migrations.Install;
|
||||
using Umbraco.Core.Persistence;
|
||||
using Umbraco.Core.Persistence.SqlSyntax;
|
||||
|
||||
@@ -40,5 +42,11 @@ namespace Umbraco.Web
|
||||
throw new InvalidOperationException($"Unknown provider name \"{providerName}\"");
|
||||
}
|
||||
}
|
||||
|
||||
public void CreateDatabase()
|
||||
{
|
||||
var engine = new SqlCeEngine(DatabaseBuilder.EmbeddedDatabaseConnectionString);
|
||||
engine.CreateDatabase();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user