Si empleo IQuery en lugar de ICriteria me funciona perfectamente.
Seguramente no estoy haciendo el ICriteria bien:

DateTime fechaFinAnterior = producto.Precio.FechaInicio;
fechaFinAnterior = fechaFinAnterior.AddDays(-1);

NHibernate.ICriteria qry = NHSession.CreateCriteria(typeof(Precio));
qry.Add(Expression.Like("FechaFin", fechaFinAnterior));
resultado = qry.List<Precio>();
--~--~---------~--~----~------------~-------~--~----~
Para escribir al Grupo, hágalo a esta dirección: 
[email protected]
Para más, visite: http://groups.google.com/group/NHibernate-Hispano
-~----------~----~----~----~------~----~------~--~---

Responder a