This will work for VistaDB, MyGeneration 1.2.0.7, and ES2008. It's kind of weird because MyGeneration 1.2 has a plugin for VistaDB, and so does EntitySpaces 2008. Make sure you have MyGeneration closed during this.
Step One
You will find the MyGeneration MyMeta plugin for VistaDB HERE. Unzip it, and build it against your MyGeneration 1.2 installed MyMeta.dll, and your version of VistaDB. Next, copy the newly compiled "MyMeta.Plugins.VistaDB3x.dll" into your MyGeneration folder.
Step Two
We ship the source for our "plugin" with ES2008. In the standard install you will find it here:
C:\Program Files\EntitySpaces 2008\CodeGeneration\EntitySpaces.MetadataEngine.VistaDB
- Open the solution.
- Delete EntitySpaces.snk and Settings.settings (under Properties).
- Compile it against your version of VistaDB.
- Copy EntitySpaces.MetadataEngine.VistaDB.dll into your "C:\Program Files\EntitySpaces 2008\CodeGeneration\Bin" folder, and your MyGeneration folder.
You can redirect our EntitySpaces Data Provider using this FAQ to any version of VistaDB.
EDIT: 2008-08-23
You must remove any password from the database before generating the templates. MyGeneration cannot read the necessary schema information from an encrypted database. Once you have generated your classes, you can add the password protection back, and the EntitySpaces API will work against the encrypted database based on the credentials in the connection string.