2.0 / 3.5
|Visual Studio version
2005 / 2008
C# / VB.NET
These templates are used for reverse mapping database tables to classes that implement the INotifyPropertyChanging and INotifyPropertyChanged interfaces. They are an extended version of the original templates and can be used as default. However, they will replace your existing templates, so make sure you have them backed up in case you do not want to use the new ones anymore.
To use the templates, you have to extract each archive to a specific folder in the installation path of OpenAccess. By default all class generating templates take place in "C:\Program Files\Telerik\OpenAccess ORM\sdk\IDEIntegrations\templates\PCClassGeneration".
Having that as an initial path, extract the files as follows:
- cs-class.zip to "\cs\templates\classgen\class"
- cs-fieldaccess.zip to "\cs\templates\classgen\fields\field\access"
- vb-class.zip to "\vb\templates\classgen\class"
- vb-fieldaccess.zip to "\vb\templates\classgen\fields\field\access"
Now you have both C# and VB templates installed and you will notice that the generated classes implement the INotifyPropertyChanging and INotifyPropertyChanged interfaces next time you reverse map a database.