1. Choose a data store, you can use an existing or new data store. (Currently MySQL, SQL Server, SQLite, and PostgreSQL are supported)
    1. At a minimum the user connection will need to read/write permissions
    2. In order to take full advantage of the library the user will need the ability to read and modify the schema
    3. Note: No structure is required at this point
  2. Add a reference to DataAccess.Core.dll
  3. Add reference to DataStore specific libraries MySQL SqlServer SQLite
  4. Create Data Object Simplest Example
  5. Create DataStore object
    1. I Recommend keeping a reference to your data store for the life of the application
    2. The provided connection objects have a static method GetDataStore(string connection), use it or starting with 1.7.0 Uses the Appropriate Datastore (i..e SqlServerDataStore)
  6. Do CRUD CRUD Example

Last edited May 30, 2013 at 4:24 AM by iamkrillin, version 12

Comments

daniel_amigos Aug 25, 2011 at 12:36 AM 
Is there an example for point #5 "Create DataStore object". I can't figure out what goes in there...