This project is read-only.
Given we want to add explicit relations between these two classes:

private class GuiPerson
{
    public String FirstName { get; set; }
}

private class DomainPerson
{
    public String GivenName { get; set; }
}

To be explicit about the relation we simply write:

var relations = new RelationContainer<DomainPerson, GuiPerson>();
relations.Add(master => master.GivenName, t => t.FirstName);

Last edited Jun 11, 2009 at 6:01 PM by ToreVestues, version 1

Comments

No comments yet.