I have a table like:
Code:
`Id` INT(11) NOT NULL auto_increment,
`stand_Id` INT(11) NOT NULL ,
`CPOX` TINYINT(1) DEFAULT NULL ,
Id is a PK/stand_id is an FK
What i am wondering is, with NHibernate, is it possible to map all rows with CPOX = 1 to a different collection than when CPOX = 0? i haven't found a way, but i think it might be possible with either some voodoo magic polymorphism or possibly a discriminator. Not sure, just looking to know if it is possible and what i should be trying to use. Thanks!