Я пытаюсь сопоставить эту таблицу:
CREATE TABLE AHQ.ReportConfigurationAttribute (
IdReportConfiguration integer NOT NULL,
IdAttribute integer NOT NULL,
[Order] integer NOT NULL,
[Type] integer NOT NULL,
CONSTRAINT PK_ReportConfiguration_Attribute PRIMARY KEY (IdReportConfiguration, IdAttribute)
);
и
Schema("AHQ");
CompositeId()
.KeyProperty(x => x.IdReportConfiguration)
.KeyProperty(x => x.IdAttribute);
Map(a => a.Order);
Map(a => a.Type).CustomType<ReportConfigurationAttribute.ReportConfigurationAttributeType>();
Но
NHibernate.MappingException : No persister
есть предложения?
Спасибо