I'm trying to specify a composite key, in which one key is an identifier and another is not, using fluent nhibernate. Is it possible in fluent? If yes, what I'm doing wrong in below mapping?
public void Override(AutoMapping<AppUser> mapping)
{
mapping.Table("AppUser");
mapping.Id(x => x.Id, "RowID");
mapping.CompositeId().KeyProperty(x => x.Id, "RowId")
.KeyProperty(x => x.ServerID);
}