Skip to content
Ricardo Barbosa edited this page Jul 21, 2013 · 70 revisions

MagikBreeze

Overview

Welcome to MagikBreeze - a metadata generator library and entity creation client script to use with BreezeJS for no DB, no EF ORM or EF ORM with DTO scenarios (non 1:1 entity mappings).

By using MagikBreeze, the manual entity creation process that is commonly used to add entities to the Breeze EntityManager metadatastore on the above mentioned scenarios is minimized. Metagen generates all the metadata that is needed to self-describe your POCOS´s for automatic entity generation on the client side.

NOTE: This library is in a very early beta stage and some inconsistencies might still occur. Use it having that in mind and feel free to contribute with your ideas and pull requests for feature adding or bug fixes.

Key Features

  • Simple inclusion - just add reference to the MagikBreeze assembly on the server and the magikbreeze.js script on the client.
  • Eazy bootstrapping - decorate your POCOS with attributes, pass the type of your datacontext or repository classes that implement the IMagikBreezeContext interface to MagikBreezeContextProvider class and call the run method of the magikbreeze.js script. Simple!
  • Property cherry picking - If you don´t want to serialize metadata from all your model´s properties, just select the ones you want by their name.
  • Wide coverage - Data Properties, Navigation Properties, Validation Properties and Unmaped Properties supported.
  • Compatibility - Doesn´t get in the way of the metadata generated by the EFContextProvider so it supports having both metadata providers.

More Information

Clone this wiki locally