NHibernate.Envers - Customize the Revision Entity

Sometimes the basic information provided by the default revision entity we have in NHibernate.Envers are not enough, when we need to extend those information and provide additional data we have the option to use a customized version of the Revision E


Fetching collections with NHibernate, a mistake a I always do!

I did it again! That’s why I’m writing this blog post...I do it almost every time and the main reason is: trying to optimize NHibernate queries without thinking. As the title of the posts says the problem here is related to fetching the data of diff


NHibernate.Envers - Querying - part 2

In the previous articles of this series we saw how to initialize the environment to use NHibernate.Envers and how to query it for getting information about the revisions it creates. It’s now time to focus on the methods that allows us to actually re


Linq to NHibernate - String.Equals with StringComparison option

A couple of days ago Matteo Migliore asked me a question about why String.Equals(string, StringComparison) was not supported in Linq to NHibernate while it was in Entity Framework. My first answer was that the Linq to NHibernate implementation might


NHibernate.Envers - Querying - part 1

We’ve already saw how to setup NHibernate.Envers, how to configure and how to create the schema for it (NHibernate.Envers - a quick introduction). To query for our revision entities we need to use the IAuditReader interface, we have two ways to obtai


NHibernate.Envers - a quick introduction

Recently I had the need to introduce a sort of ‘Entity Versioning’ in a portion of my applications, the whole data access strategy was realized using NHibernate + XML / ConfORM mappings. I started the thing introducing an poor auditing system using


Report & Slides from “Community Tour 2011 - CMS Edition”

Some days ago the .Net User Group I belong to (DotNetMarche, for those who do not know) organized an event that was part of the “Microsoft & Community Tour 2011”. We had a multi-track workshop event that was entirely devoted to the web developmen


19th DotNetMarche Workshop “Community Tour 2011 - CMS Edition”

In a few days the 19th DotNetMarche workshop will take place, this time we will have a sort of multi-track event and we will try to show you some of the features that the major .NET CMS Platforms have to offer: we will tracks on Orchard, Microsoft Sh


WPF, Silverlight, WP7 and the Async CTP

In the past days I had a chance to give an eye to these future feature of the .NET framework and I have to say I really love it. It allows you to write code that have to run asynchronously or in sequence (continuations) in a very simple and intuitive


WP7 - adding a ‘Fade to Black’ effect to a ListBox

I wanted to have a small and ‘nice’ application in which to experiment things related to networking and graphic effects in WP7, so I took out the ‘My WP7 Brand’ project from CodePlex and started to customize it, this is how ‘All About PrimordialCode’


 1 di 4   1   2   3  »  Last »