2015-04-15 18:32:56 +00:00
|
|
|
|
///
|
|
|
|
|
|
/// Copyright (c) 2013-2015 Sensus Metering Systems
|
|
|
|
|
|
///
|
|
|
|
|
|
using FluentNHibernate.Mapping;
|
2015-12-04 16:17:20 +00:00
|
|
|
|
using Config.Entities;
|
2014-07-28 07:54:35 +00:00
|
|
|
|
|
2015-12-04 16:17:20 +00:00
|
|
|
|
namespace Config.Mappings
|
2014-07-28 07:54:35 +00:00
|
|
|
|
{
|
|
|
|
|
|
class ComponentProcedureMap : ClassMap<ComponentProcedure>
|
|
|
|
|
|
{
|
|
|
|
|
|
public ComponentProcedureMap()
|
|
|
|
|
|
{
|
|
|
|
|
|
Id(x => x.Id);
|
|
|
|
|
|
Map(x => x.CmpntName);
|
|
|
|
|
|
Map(x => x.Parameters)
|
|
|
|
|
|
.CustomType("StringClob")
|
|
|
|
|
|
.CustomSqlType("varchar(8000)");
|
|
|
|
|
|
|
|
|
|
|
|
References(x => x.Procedure);
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|