Monthly Archives: March 2012

Information hygiene

Everything starts up small – and some things never stops to grow. Pretty soon you have a big system on your hands that needs to send data here and there thru the enterprise. You then start to whish that you … Continue reading

Posted in Declarative, MDrivenServer, Modlr | 12 Comments

Type mapping, OR-Mapping

When modeling you can use any type name for attribute types. This name is what we call a “Common name”. When ECO is given the model and tries to turn it into a runtime model, AND when when we derive … Continue reading

Posted in CO-Unique, Declarative, Modlr | Leave a comment

Logging what ECO does

Peter Morris sent me a sample and it contained a nice section that send all ECO sql-logs to the Output window in VS2010. Eco.Logging.EcoLogSwitches.LogSql = true; Eco.Logging.EcoListener.Singleton.OnTraceLog += (sender, args) => { System.Diagnostics.Trace.WriteLine(Thread.CurrentThread.Name + “:” + args.Message); }; Eco.Logging.EcoListener.StartListening(); Since … Continue reading

Posted in VisualStudio | 1 Comment

BoringPredictable functions

Suppose you have this model:   And this ViewModel with placing hints : And some actions: And that you have loaded it into BoringPredictableServer like explained here into slot A0 in the database. Then you can use the services of … Continue reading

Posted in MDrivenServer | Leave a comment

BoringPredictable – how to add model

Go to Admin Area/ Admin Browser App You will get a warning about dangerous apps – ok it – you can trust me. You will get something like this – if I have not made it look nicer yet: You … Continue reading

Posted in MDrivenServer | 4 Comments

BoringPredictable Troubleshoot

Go to Admin area/Info and errors #1 Check Database connectivity: Expected result: “Success of open Data Source=|DataDirectory|DatabaseCompact.sdf ” If you get a callstack you have issues with accessing the database and nothing will work. #2 You can try to create … Continue reading

Posted in MDrivenServer | 1 Comment