Main Contents

PetaPoco – One To Many and Many To One

Schotime @ August 21, 2011

.NET | Comments (2)

PetaPoco is a great way to map results from a database. Usually these are flat objects, however sometimes its useful to map many-to-one/one-to-many relationship directly into a viewmodel or complex object. This feature has been possible in PetaPoco since version 4 as shown in the blog post by Brad, (http://www.toptensoftware.com/Articles/115/PetaPoco-Mapping-One-to-Many-and-Many-to-One-Relationships) however, custom mapping needed to [...]


book mark PetaPoco – One To Many and Many To One in del.icio.us submit PetaPoco – One To Many and Many To One to digg.com



Feed
26,580 spam comments
blocked by
Akismet