woensdag, maart 04, 2009

 

ECO - Check if trigger method can be called

myobject.AsIObject().StateMachine.CanTrigger("mytriggermethod",null)

 

ECO - get typed list

After using my own ORM for a long time, I came across the ECO framework (http://www.modelmakertools.com/). This framework allows you to nicely develop in a modeldriven way. Nice integration with Visual Studio.

Basic typed list retrieval:

IList myList;
myList = EcoSpace.Ocl.Evaluate("Application.allInstances->first").GetAsIList();