This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
| 
 | hi, have just upgraded to latest nightly build - hoping to pick up a bug fix for some cause-as-yet-unknown crazy inheritance eager-loading sql we're seeing. latest build has blown up with a null ref exception - something to do with the way we provide aggregate names to queries. i remember seeing in your nightly news (if you ever wonder why bother - yep, it's very useful for times like this) a while ago this item: "Added a class containing constants for all aggregate names in the model" so - sounds great.  begone magic strings. thanks justin | 
|  | |
| 
 | Look for a class named {ModelName}Aggregates e.g.  | 
|  | |
| 
 | mmm. * a short while later * OH!  just checked and yes, am using custom template for the model. | 
|  | |
| 
 | The presence or absence of that class is unlikely to have anything to do with your NullReferenceException. It's just a holder for a bunch of constants. | 
|  | |