Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

25 lines (21 sloc) 0.603 kB
using System.Collections;
using NHibernate.Cfg.MappingSchema;
namespace NHibernate.Test
{
public abstract class TestCaseMappingByCode : TestCase
{
protected override IList Mappings
{
get { return new string[0]; }
}
protected override string MappingsAssembly
{
get { return null; }
}
protected override void AddMappings(Cfg.Configuration configuration)
{
configuration.AddDeserializedMapping(GetMappings(), "TestDomain");
}
protected abstract HbmMapping GetMappings();
}
}
Jump to Line
Something went wrong with that request. Please try again.