|
Demo Version
|
|
Download and try for yourself a fully working demo version, including sample apps and documentation. The only limitation is that the demo version only works inside the debugger.
|
|
Subscribe
|
|
Get It All for $50 USD:
WebPortal, ORMapper,
Source Code, All Updates
|
|
|
Wilson ORMapper Examples
|
|
Example Overview
This set of examples is all based on a simple Contact Management system.
First, take a look at the schema for Categories, Contacts, and Details
-- note that it includes both a 1-to-many and a many-to-many relationship.
Next, you'll find the basic entity classes (Category,
Contact, and Detail)
correspond to the schema, and the xml mappings
that are crucial for the O/R Mapper.
Note that the WilsonORHelper, or CodeSmith Templates, can help you create the entity classes and xml mappings,
so there's no need to do it all yourself, although the mappings should mostly be clear.
Then, you initialize the WilsonORMapper by passing it the path to your
mapping file, the connection string, and the type of database (Provider.Access, MsSql, Oracle, etc.).
Finally, use the ObjectSpace to get collections of your entities,
with or without where clauses and sort orders, as well as pages,
and to persist your entity changes.
Note that all relationships that are mapped will work seamlessly also.
This is just the basic capabilities, but there are others, some without examples here,
so make sure you also get the
demo download to try it out for yourself.
Class Diagram
|
|