This project is read-only.

Version 1 Release 1

Rating: No reviews yet
Downloads: 82
Change Set: 056d4dceef2c
Released: Jul 25, 2011
Updated: Jul 25, 2011 by seanterry
Dev status: Beta Help Icon

Recommended Download

Source Code Release 1: Data Access
source code, 38K, uploaded Jul 25, 2011 - 82 downloads

Release Notes

The first release of the Chameleon shared-source includes a simple, no-nonsense IDepository interface to both the Linq-to-SQL DataContext and the Entity Framework DbContext. These can be used in either a code-first or model-first manner.

The Chameleon.Shared.Samples library shows an example of how to configure said data contexts to work with the IDepository interface, and includes the BasicEntity class, which is decorated to work under both Linq to SQL and Entity Framework. The Chameleon.Shared.Samples.Wpf project is a rough demonstration of using either context with the same entity type.

Also included is the MimicDepository, an in-memory data context that behaves similarly to a database-connected context, which allows unit testing of data-access logic without needing to be connected to an actual database.

Reviews for this release

No reviews yet for this release.