Update: Support extended logging arguments
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Data.Entity;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Disco.Services.Logging.Targets
|
||||
{
|
||||
public class LogPersistContextInitializer : IDatabaseInitializer<LogPersistContext>
|
||||
{
|
||||
public void InitializeDatabase(LogPersistContext context)
|
||||
{
|
||||
if (!context.Database.Exists())
|
||||
{
|
||||
context.Database.Create();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user