Mar
8

Fluent NHibernate.Search is an open-source attributes-less mapping interface for the NHibernate provider implementation of Lucene.NET.

NHibernate.Search is attributes based mapping.  However, some projects need to keep domain entities true POCO and persistant ignorant.  This project was created because there is no Fluent inteface to map Lucene.NET documents without attributes outside domain entities.

FluentNHibernate.Search on CodePlex

Sep
18

AutoMapper 1.0 RC1

Posted In: Object Mappers by DotNut

AutoMapper is a convention-based object-to-object mapper.  AutoMapper uses a fluent configuration API to define an object-object mapping strategy.  AutoMapper uses a convention-based matching algorithm to match up source to destination values.  Currently, AutoMapper is geared towards model projection scenarios to flatten complex object models to DTOs and other simple objects, whose design is better suited for serialization, communication, messaging, or simply an anti-corruption layer between the domain and application layer.

New features in v1.0 release candidate 1 include:

  • Non-generic CreateMap overload
  • Can specify custom mapping ordering for individual destination members
  • Before/After map callbacks for custom pre/post processing
  • Registration of custom pre- and postfixes on member type names (i.e. CustomerKey can map to Customer)
  • Mapping from dictionaries to split out key-value pairs
  • Basic support for IDataReader/IDataRecord
  • Support for custom naming conventions
  • Support for IListSource (for Entity Framework)

AutoMapper at CodePlex

Aug
31

Fluent NHibernate 1.0

Posted In: Object Mappers by DotNut

NHibernate is an Object Relational Mapping framework, which maps between relational data and objects.  NHibernate defines its mappings in an XML format called HBM, and each class has a corresponding HBM XML file that maps it to a particular structure in the database.

Fluent NHibernate offers an alternative to NHibernate’s standard XML mapping files.  Rather than writing XML documents, Fluent NHibernate lets you write mappings in strongly typed C# code.  This allows for easy refactoring, improved readability and more concise code.  Fluent NHibernate v1.0 RTM is now available for download.

Download Fluent NHibernate

Jul
28

NHibernate Linq 1.0

Posted In: LINQ, Object Mappers, Tools by DotNut

NHibernate  is the .NET port of the Java Hibernate, which provides Object/Relational mapping to persist objects in a relational database.

The most requested feature for NHibernate for the last few years has been Linq support, and it’s now available.

NHibernate Linq 1.0 is based on the existing, proven Linq provider in NHibernate Contrib.  This Linq release supports just about anything that you can do with the criteria API.  It does not support group joins or subqueries in select clauses, since they aren’t supported by the criteria API.  NHibernate’s Linq support has been tested in production for a few years, and most people find it more than sufficient for their needs.

Download NHibernate Linq

Jul
6

Subsonic is a “super high-fidelity Batman utility belt that works up your Data Access (using Linq in 3.0), throws in some much-needed utility functions, and generally speeds along your dev cycle.”  Put another way, Subsonic is an open source object-relational mapper for Microsoft .NET maintained by Rob Conery.

New in version 3:

  • Linq engine which parses IQueryable “stuff” into SQL
  • Templating system which allows you to use ActiveRecord and Linq-to-SQL style
  • A SimpleRepository which even builds your database for you
  • A brand-new project site
  • A new wiki docs site

Subsonic Homepage

May
14

AutoMapper is an open-source convention-based object-to-object mapper.  AutoMapper uses a fluent configuration API to define an object-object mapping strategy and a convention-based matching algorithm to match up source to destination values.

Currently, AutoMapper is geared towards model projection scenarios to flatten complex object models to DTOs and other simple objects, whose design is better suited for serialization, communication, messaging, or simply an anti-corruption layer between the domain and application layer.

New features include:

  • New mapper for System.ComponentModel.TypeConverter
  • Bi-directional and parent-child relationships supported
  • Flags enumerations supported
  • Allow partially trusted callers for medium-trust environments
  • Configuration validation for IEnumerable types (List<T> etc.)
  • Mapper registry for easy access to built-in object mappers
  • More friendly to IoC scenarios

Download AutoMapper

Copyright © 2008-2009 Timm Martin. All rights reserved.
Wordpress Theme designed by DT Website Templates