Project template location
Update: now project template is installed by DataObjects.Net installer automatically.
The installation is simple: just double-click on downloaded "DataObjects.Net_4_Project.vsi" file and follow the installer instructions.
Be sure that DataObjects.Net 4 is installed in the right folder
If no, the simplest way to fix it is to copy DataObjects.Net 4 into the specified folder.
Solution for geeks and advanced users
"DataObjects.Net 4.0 Project.zip"in Visual Studio 2008 custom project template folder ( "%My Documents%\Visual Studio 2008\Templates\ProjectTemplates\Visual C#\").
- Unzip contents, open
"DataObjects.Net 4.0 Project.vstemplate", set $DataObjectsDotNet4Path$ variable to desired path, save file and pack it back.
To create new project based on DataObjects.Net 4 framework open Visual Studio, click "New" -> "Project" and select "DataObjects.Net 4 Project" as it is shown on the image:
After clicking "OK" simple C# project will be created. It will contain one persistent class "Person", a set of references to required assemblies and PersistentAttribute will be applied in AssemblyInfo.cs file. Remember to synchronize PersistentAttribute parameters if you are going to rename assembly with your persistent model.
Any comments and suggestions are welcome.