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

SummerBreeze

Overview

Welcome to SummerBreeze - 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 SummerBreeze, the manual entity creation process that is commonly used to add entities to the Breeze EntityManager metadatastore on the above mentioned scenarios is minimized. SummerBreeze generates all the metadata that is needed to self-describe your POCOS´s for automatic entity generation on the client side.

Key Features

  • Simple inclusion - just add reference to the SummerBreeze assembly on the server and the summerbreeze.js script on the client.
  • Eazy bootstrapping - decorate your POCOS with attributes, pass the type of your datacontext or repository class that implements the ISummerBreezeDbContext interface to SummerBreezeContextProvider class, and use the summerbreeze.js script to create a generator instance to generate your entity types. 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 - Can work with both EF scenarios and non-EF scenarios. It supports having both EFContextProvider and other metadata providers.
  • Entity saving - Both ways supported, not only entity creation.

More Information

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.

Clone this wiki locally