17 lines
371 B
C#
17 lines
371 B
C#
using System;
|
|
using NHibernate.Tool.hbm2ddl;
|
|
using NUnit.Framework;
|
|
|
|
namespace ConsoleApp1.ORM
|
|
{
|
|
[TestFixture]
|
|
public class SchemaTest
|
|
{
|
|
[Test]
|
|
public void CanGenerateSchema()
|
|
{
|
|
var schemaUpdate = new SchemaUpdate(NHibernateHelper.Configuration);
|
|
schemaUpdate.Execute(Console.WriteLine, true);
|
|
}
|
|
}
|
|
} |