Main Contents

PetaPoco – Convention Based Fluent Mapping

Schotime @ February 13, 2012

.NET | Comments (1)

After using the Fluent Mapping’s I blogged about a few months ago, I started to see patterns occurring. My table names were always the pluralized type and the primary key was the Type name concatenated with “Id”. With all this repetition, I decided that conventional mappings were needed and that they should be overridable for [...]


book mark PetaPoco – Convention Based Fluent Mapping in del.icio.us submit PetaPoco – Convention Based Fluent Mapping to digg.com


Fluent PetaPoco – External Mappings

Schotime @ May 16, 2011

.NET | Comments (6)

Update 20/Nov/2011: This has been now added to my master branch and is available here for download as of 4.0.3.5. https://github.com/schotime/PetaPoco/downloads The other day I set out to build another way to configure the mappings for PetaPoco. Here is how you currently configure a mapping using attributes. [TableName("AttribPocos")] [PrimaryKey("Id")] public class attribpoco { public int [...]


book mark Fluent PetaPoco – External Mappings in del.icio.us submit Fluent PetaPoco – External Mappings to digg.com



Feed
26,580 spam comments
blocked by
Akismet