using FluentNHibernate.Mapping;
using Sourcedb.Entities;
namespace Sourcedb.Mapping
{
public class OptionsMap : ClassMap<Options>
{
public OptionsMap()
{
Table("s_options");
CompositeId()
.KeyProperty(x => x.Productid, "product_id")
.KeyProperty(x => x.Fiature, "feature_id")
.KeyProperty(x => x.Val, "value");
}
}
}