20 lines
363 B
C#
20 lines
363 B
C#
using FluentNHibernate.Mapping;
|
|
using ResultsBrowser.Entities;
|
|
|
|
namespace ResultsBrowser.Mappings
|
|
{
|
|
class ComponentTestMap : ClassMap<ComponentTest>
|
|
{
|
|
public ComponentTestMap()
|
|
{
|
|
Id(x => x.Id);
|
|
Map(x => x.CmpntName);
|
|
Map(x => x.Parameters)
|
|
.CustomType("StringClob")
|
|
.CustomSqlType("varchar(8000)");
|
|
|
|
References(x => x.Test);
|
|
}
|
|
}
|
|
}
|