Lifetime of a Model

Feb 22, 2013 at 5:08 PM
I want to be able label a Model as being instantiated once per application, rather than every time an ApexBroker.GetModel<IXXX>() is called. Can you think of a nice way of doing this ?
Feb 23, 2013 at 5:11 PM

Actually, the ApexBroker creates an instance of every model type when it starts up - ApexBroker.GetModel<IXXX> will return that instances - so models are automatically implemented in the way you need :)