27 lines
627 B
C#
27 lines
627 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using NHibernate.Tool.hbm2ddl;
|
|
using Taloyhtio.GeneralSSO.Server.CodeFiles.Infrastructure.DataAccess;
|
|
|
|
|
|
namespace GeneralSSO.CreateDb
|
|
{
|
|
public class Program
|
|
{
|
|
public static void Main(string[] args)
|
|
{
|
|
createDbSchema();
|
|
}
|
|
|
|
private static void createDbSchema()
|
|
{
|
|
var configuration = NHConfiguration.Configure();
|
|
var exporter = new SchemaExport(configuration);
|
|
exporter.Execute(true, true, false);
|
|
}
|
|
}
|
|
}
|