Fluent NHibernate Composite ID table problem
问题 I'm kinda new to nhibernate and i ran into a problem. I have the following tables: Table 1: Table Name: Users, Column 1: ID, Column 2: Name Table 2: Table Name: Missions, Column 1: ID, Column 2: Description Table 3: Table Name: UserToDoMissions, Column 1: UserID, Column 2: MissionID, Column 3: Rank Here is the code: MissionMap: public class MissionMap : ClassMap<Mission> { public const string TableName = "tblMissions"; public const string c_id = "achID"; public const string c_name = "achName"