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

BreezeNoDBMetadataGenerator

Overview

Welcome to BreezeNoDBMetadataGenerator - 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 BreezeNoDBMetadataGenerator, the manual entity creation process that is commonly used to add entities to the Breeze EntityManager metadatastore is minimized. BreezeNoDBMetadataGenerator 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 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 BreezeNoDBMetadataGenerator assembly on the server and the breeze.noDBEntityGenerator.js script on the client.
  • Eazy bootstrapping - decorate your POCOS with attributes, instantiate the NoDBMetadataGenerator class and call the run method on the noDBEntityGenerator 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 - Works side-by-side with Breeze´s EFContextProvider so it supports having both scenarios.

More Information

Clone this wiki locally