Using WECPOF in runtime
You can use WECPOF in design time ECO projects and in Gaffr.net files.
This article explains how to use it in runtime to deliver finished applications.
It starts out as an ordinary ECO project (create one from the wizard, Create new project Eco project).
You then create your model, update the code, configure your Persistence mapper of choice, set up any remote persistence mapper and synchronization if you want to just as the PDF-tutorials explain, Create or evolve your database, or derive the model from an existing database with the Reverse derive options.
Then add a WPF-Window or a WPF-Page (for browser applications).
Make sure your project references WECPOFLogic, then add a reference to the xaml :
And add a MainMenu and a WECPOFWindowEnvironment (this is where the WECPOF windows will be hosted)
In code behind we need to create our ecospace and hook everything up; this is boiler plate code:
And you are done: