EntitySpaces Quick Start 1-2-3
Getting started with EntitySpaces is as simple as 1,2,3.
- Copy the EntitySpaces.Core.dll, EntitySpaces.Interfaces.dll, EntitySpaces.LoaderMT.dll, and any provider dll's you will be using from C:\Program Files\EntitySpaces\EntitySpacesDemo\EntitySpacesDemo\Runtime\ to the /bin folder of the project you are working with.
- Add the required EntitySpaces configuration entries to your web/app.conifg
- Execute the EntitySpaces generated and custom master templates to generate your Business Objects and add the generated code to your project. The EntitySpacesDemo has EntitySpaces classes for the Northwind Employees table and the Northwind Invoices view. Notice the layout of the project files.

Make sure you have access to the BusinessObjects namespace in your project, register the EntitySpace Loader in program start up, and your DAL coding is now complete. If your database schema should happen to change then simply execute the EntitySpaces generated master template for the changed tables/views and your are back in sync. EntitySpaces frees you from montonous DAL coding and allows you to focus on your custom business logic. Place all of your custom business logic in your custom classes.
After you're all setup, head on over to the Quick Reference for an overview of the sugar sweet EntitySpaces API syntax. The Quick Start PDF on your Start Menu will give you details on any of the steps above.
|