Introduction

CrystalMapper is a very simple object ORM, it support Linq queries. CrystalMapper written to compete with ADO.NET DataSet fetch speed. It is very fast compare to other ORMs.

Examples of search, update ... are shown at http://csharplive.wordpress.com

It is fast because it does not do any heaving loading task all by itself, instead leaves it to object for filling itself up when ask by CrystalMapper. Don’t you worry about writing code for manually filling data into objects, CrystalMapper include Templates for generating classes and it is integral part of ORM. Templates are written for CodeSmith (A code generator tool). I know it is not Open Source but until I found some easy open source code generator tool, please bear with it. You can use trial versions of CodeSmith for now (http://www.codesmithtools.com).

Quick Start

Video tutorial: http://www.youtube.com/watch?v=5_0UxY55ZF4

To Get Started:

  • Download Release 2.0.3725.11614.

Release 2.0.3725.11614 supports

  • Tracking dirty entities and provide Save function to save all entities in relation loop
  • Associate entity automatically when added to children collection.
  • Entity will offer events to track for any changes, very useful in event driven approach
  • Linq support


Something for WPF fox
  • Support for WPF data binding. (Most developers may not aware that they can't access UI control from other threads than UI thread itself. But any entity or its collection in Crystal Mapper can be update able from different thread than UI thread, this is possible due to event class (DispatchedEvent) provided in CoreSystem Class Library: http://coresystem.codeplex.com)
Last edited Mar 16 at 11:31 AM by farazmasoodkhan, version 20

 

Want to leave feedback?
Please use Discussions or Reviews instead.

Updating...
© 2006-2010 Microsoft | Get Help | Privacy Statement | Terms of Use | Code of Conduct | Advertise With Us | Version 2010.2.24.16331