Re: "Fake" orders (or how do a cart become an order ?)
Yes. The DescriminatorColumn defines the column in the table and the DescriminatorMap maps its value to class.
So if you need only non-orders create new query with placeOnly equal false.
Alternatively you can just decorate the Order model class and add another field for your own use - if true it is your fake order. Then use it in a query to find your own records.
__________________
Steve Stoyanov
CFLSystems.com
Web Development
|