Fluent NHibernate and composite ID with single column name
问题 I've crossed posted this in the FNH Google Group but here's the scoop: I have a table in a legacy database that has a composite ID. Well, the PK is implied since the table doesn't actually have a PK defined, but the natural PK is the combination of the WORKORDERID and IMAGEPATH columns: CREATE TABLE [WORKORDERIMG]( [WORKORDERID] [varchar](50) NULL, [IMAGEPATH] [varchar](250) NULL, [WOTASKID] [numeric](10, 0) NULL, [ATTACHEDBY] [nvarchar](100) NULL, [COMMENTS] [nvarchar](256) NULL,