Templates Gallery
This page contains the latest versions of the code renderers we are using internally
for other projects.
Reegenerator ships with similar example code renderers that you can use to learn
how to use the product or as a starting point for your specific generators. The
renderers on this page can be slightly more complex but they cover more than the
out of box ones. If you can identify a renderer on this page that is a good starting
point for what you are trying to achieve, then download it and start with it.
Due to the fact that we use C# internally, some of the code renderers will be provided
as C# only. We are commited to support both languages within the templates gallery,
as we did with the out of the box renderers.
These renderers are covered by this license.
In short, they are provided "AS IS", you can use them however you want, but Kodeo
Limited is not liable for such use.
|
|
Customize Standard Designers Generated Code
|
|
|
|
LINQtoSQL
(dbml files)
|
Download for C#
Download for VB
|
Use this renderer to replace the code generated by the LINQtoSQL designer.
The renderer creates the same output as the default one, providing a starting point
for customization.
|
|
Datasets
(.xsd files that define a dataset)
|
Use this renderer to replace the code generated by the Dataset designer.
It renders only the dataset classes but not the data access.
|
|
Settings
(.settings file that define the project settings)
|
Use this renderer to replace the code generated by the Settings designer.
The renderer creates the same output as the default one, providing a starting point
for customization.
|
|
Resources
(.resources file that define the project resources)
|
Use this renderer to replace the code generated by the Resources designer.
The renderer creates the same output as the default one, providing a starting point
for customization.
|
|
|
|
Database and Data Access Renderers
|
|
|
|
DataReader
|
Download for C#
|
Generates a data reader that can be used to access and modifiy the data contained
in a table or a view.
Uses an XML file as input that defines the connection string, the table and the
view name. The database operations are done using stored procedures generated or
manually written.
|
|
CreateStoredProcs
|
Generates stored procedures SQL script from a database table. It also generated
the creation script for stored procedures defined in the database.
Uses the same input file as the DataReader generator and is therefore synchronized
with it.
|
|
CreateTable
|
GGenerates a table creation script from a a database table.
Uses the same input file as the DataReader generator and is therefore synchronized
with it.
|
|
CreateFunctions
|
Generates a SQL script that creates all the functions defined in a database.
|
|
CreateRelationships
|
Generates a SQL script that creates all the views defined in a database.
|
|
CreateViews
|
Generates a SQL script that creates all the functions defined in a database.
|
|
ExcelWorksheetAsInserts
|
Generates a SQL script from an Excel document that inserts data into a database
table.
|
|
ExcelWorksheetAsStructuredInserts
|
Generates a SQL script from an Excel document that inserts data into a database
table.
The table has a relationship to itself and the Excel document is structured so that
child rows are indented from the parent.
|
|
|
|
|
GenerateImplementation
|
Download for C#
|
Generates a web service implementation from an interface.
Uses an XML file to specify a small number of settings including the full name of
the interface to be exposed as a service. The interface can be defined in a referenced
project or assembly.
|
|
GenerateProxy
|
Generates a web service proxy for a web service implementation.
Uses an XML file to specify a the relative path of the implementation to generate
a proxy for.
|
|
|
|
|
GenerateImplementation
|
Download for C#
|
Generates a WCF service implementation from a factory class for a given interface.
Uses an XML file to specify a small number of settings including the full name of
the interface to be exposed as a service. The interface can be defined in a referenced
project or assembly.
|
|
GenerateProxy
|
Generates a WCF service proxy from a factory class for a given interface.
Uses an XML file to specify a the relative path of the implementation to generate
a proxy for.
|
|
|
|
|
Dinamically invoke generators and create project items
|
Download for C#
|
Two samples on how to generate code in project items that get created as needed.
Both examples dynamically invoke a code renderer. One of them creates project
items as dependent children of the originating file. The other example pops up a
Windows form and creates independent project items in the same project as the
originating file based on the user input.
Many thanks to Sandvik Group for these examples.
|
|
|