title: Can I define custom type mapping for parameters and fields in PetaPoco?
body: <p>I'm currently trying to pick a C# ORM to use with my PostgreSQL database, and I'm interested in the micro-ORMs, since they allow me to better utilize the power of Postgres(and since full blown ORMs are hard to configure. While Dapper simply works, trying to deal with NHibernate has left a forehead shaped dent in my screen...)</p>
  
  <p>Anyways, currently PetaPoco has the lead, but there is one feature I need and can't figure if it has(to be fair - I couldn't find it in the other ORMs either) - mapping of custom types.</p>
  
  <p>My PostgreSQL database uses the hstore and Postgis extensions, which define custom types. I don't expect any ORM to support those types(it's hard enough to find one that supports PostgreSQL!) but I want to be able to provide my own mappers for them, so when I get them as columns or send them as parameters PetaPoco will automatically use my mappers.</p>
  
  <p>Is this even possible? The closest I could find is <a href="https://stackoverflow.com/questions/8812153/petapoco-query-with-typed-parameters">IDbParameter support</a>, but those are built-in types and I need to write mappers for extension types that are not part of <a href="http://msdn.microsoft.com/en-us/library/system.data.dbtype.aspx" rel="nofollow noreferrer">the list</a>...</p>