Project Description
Imagine a world where you specify the exact schema of a database only once - in code. Trinkets can then be invoked with a few lines of code to automatically generate everything else, including insert/edit/list forms for entities in your defined model. Minimal coding required.

Consider the following example code. The Task class is used to represent a table of the same name in a database. In order to do this, a "Table" attribute is assigned to the class. The application of attributes to classes, properties and methods gives Trinkets enough information so that it can create list, insert, edit, delete and selection forms. With a small amount of other logic, you can quickly and effortlessly create a complicated database-driven application, without even having created a single form visually! The example below is completely self contained.

Sample Code.jpg

Last edited Feb 3, 2011 at 12:57 PM by nicholashill, version 5