Updated to net5.0 and updated most nuget packages. Also fixed the nuspec files. + Fix typo Persistance => Persistence.
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
using Umbraco.Core;
|
||||
using Umbraco.Core.Migrations.Install;
|
||||
using Umbraco.Core.Persistence;
|
||||
|
||||
namespace Umbraco.Persistence.SqlCe
|
||||
{
|
||||
public class SqlCeEmbeddedDatabaseCreator : IEmbeddedDatabaseCreator
|
||||
{
|
||||
public string ProviderName => Constants.DatabaseProviders.SqlCe;
|
||||
|
||||
public string ConnectionString { get; set; } = DatabaseBuilder.EmbeddedDatabaseConnectionString;
|
||||
public void Create()
|
||||
{
|
||||
var engine = new System.Data.SqlServerCe.SqlCeEngine(ConnectionString);
|
||||
engine.CreateDatabase();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user