Topten Software Blog
Latest updates from Topten Software
Long Time No Post and PetaPoco v5
It's been over six months since my last post here because I've been slack and I've been busy. Also, I've found a little time to spend on PetaPoco.
PetaPoco - Partial Record Updates
PetaPoco now supports partial record updates where you can specify a subset of columns to update. What's more, the T4 template generated classes can now track and update just the columns that have been modified.
PetaPoco - Mapping One-to-Many and Many-to-One Relationships
PetaPoco now supports Multi-Poco mapping where one row in a result set can be mapped onto two or more POCOs. But how do we handle one-to-many and many-to-one relationships?
PetaPoco - What's new in v4.0
PetaPoco v4 is almost ready. Here's a write up on what's new and changed.
PetaPoco - Experimental Multi-Poco Queries
PetaPoco now has experimental support for mapping result sets onto more than one POCO type, giving yet another way to handle SQL joins.
PetaPoco - Version 3.0.0
PetaPoco version 3 is now available incorporating lots of minor changes - one of which is not backwards compatible requiring clocking the major version number.
PetaPoco - Single Column Value Requests
PetaPoco now supports queries on single column scalar values - eg: db.Query<long>(...). And some minor bug fixes.
PetaPoco - Incorporating Feedback
PetaPoco - Support for non-identity primary keys, T4 template schema tweaking, improved stored proc support and SQL Server geometry types.
PetaPoco - Version 2.1.0
PetaPoco 2.1 is now available in Nuget including support for dynamics, columns with spaces, ansi strings and a few other bits and pieces.
PetaPoco - Not So Poco! (or, adding support for dynamic)
PetaPoco's main focus is obviously to work with POCO objects. Sometimes though you just want to run query and not have to worry about declaring an object for results. C#'s 4.0's new dynamic support is perfect for this.
PetaPoco - Oracle Support and more...
PetaPoco now has support for Oracle (including sequences), simpler primary key versions of SingleOrDefault, some new SQL builder bits, support for enum property types and more...
PetaPoco - Working with Joins
Today I received an email asking how to do SQL joins with PetaPoco. Since this is not entirely obvious and there's a couple of ways of doing it I thought I'd write it up...
PetaPoco - A couple of little tweaks
I've been getting some great feedback on PetaPoco, all very positive. There's also been some great suggestions including these little tweaks...
PetaPoco - PostgreSQL Support and More Improvements
Today I updated PetaPoco to support PostgreSQL database, tweaked some implementation details to yield better query plan caching and added the ability to query page or records without querying the total record count.
PetaPoco - Support for SQL Server Compact Edition
SQL Server CE is a pretty cool little single file database engine. Now that PetaPoco supports it, there's a cool little ORM engine to go with it.
Benchmarking SubSonic's Slow Performance
Given that SubSonic's slow performance was the original reason for writing PetaPoco I thought I'd quickly update the dapper-dot-net benchmark to put things in perspective.