|
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
|
|
Contact Entity
using System; using System.Collections;
namespace Wilson.ORMapper.Example
{
publicclass Contact
{
privateint id; // Database-Generated Key Field
privatestring name;
private Address address = new Address(); // Embedded Object Type
private IList categories; // Many-To-Many Relationship
private IList details; // One-To-Many Relationship
publicint Id {
get { returnthis.id; }
}
publicstring Name {
get { returnthis.name; }
set { this.name = value; }
}
public Address Address {
get { returnthis.address; }
}
public IList Categories {
get { returnthis.categories; }
}
public IList Details {
get { returnthis.details; }
}
publicoverridestring ToString() {
returnthis.name;
}
}
}
|
|