Two days ago hammet link one of my old post, (http://hammett.castleproject.org/?p=252) I want now to make another considerations. The end of my old post (http://www.nablasoft.com/Alkampfer/?p=105) reported this problem, I have a class DisposableCon that implements IDisposable, this class declare a dependency from an object That implements ITest, This is the object model
This simple [...]
Continue reading about Again on Castle Transient and the Custom lifecycle
I’ve stumbled onto Autofac, this seems to be a new IOC container, that promise good thing….maybe it’s worth to take a look at.
Alk.
Technorati Tags: IOC,Autofac
Continue reading about A new container for Inversion of Control
One of the most feared missing feature of the ICriteria API is the possibility to specify condition on projection with Having. Suppose you have this simple connection between a container and a contained object,
The EntityContainer class has a property called Test, is an IList<EntityTest> and EntityTest has a Container property to link back to [...]
Continue reading about NHibernate ICriteria Count and the missing "Having"
Previous part: Part1, Part2
Ok, lets move on on the anatomy of an expression, let’s take as example the following screenshot.
The original expression is customer => customer.Property.StartsWith(”A”), and the expression is dissected in a node of type Lambda that contains a Call node. The Call node is a node that express the invocation of [...]
In the preceding post I showed that a lambda expression can be converted by the compiler in an object of type Expression that actually models the expression tree. With this post we can begin to have more fun, first of all I modified the visitor to show the exact tree of the expression. Here is [...]
Continue reading about C# 3.0 Expression Tree Again (part 2)




