The Westwind.BusinessFramework assembly contains a Business Object layer for Linq To Sql and Entity Framework Code First (DbContext) development. The business layer provides a simple interface for wrapping the DbContext instance and easily performing CRUD operations and providing a common location for attaching business logic to an Entity or a logical set of operations.

The business object classes support CRUD operations (NewEntity(), Save(), Delete()) as well as support for Validation - both attribute based validation as well as custom Validation implemented on the business objects.

The two supported classes are:

The following topics explain each of these business objects in more detail: