alkampfer on May 31st, 2008

In a project I’m working to, there is a point where the user is supposed to enter a series of word separated by space. A user call you telling that the routine does not work, you check the data and see that the object contains such a string
“key1, key2, key3,key4″
What you will do as the [...]



kick it on DotNetKicks.com

Continue reading about Programmer as a user friend or enemy?

I have an object that has 4 properties of IList<String> type. You can natively map these properties in a separate table with this simple mapping

<bag name="keys" access="field" cascade="all-delete-orphan" table="Keys" fetch="join">
<key column="deps_id" />
<element column="deps_key" type="String" />
</bag>

If the data in database is null, or is an empty string I [...]



kick it on DotNetKicks.com

Continue reading about Second IUserType of the day – Store a list of string in database with NHIbernate.

alkampfer on May 30th, 2008

Ok, today I faced a really simple problem, I have a domain class with a property of type uri, that seems to be not natively supported by NHibernate. Whenever you face a problem of this type the solution is IUserType, here is the full file, it is so simple to write a user type that [...]



kick it on DotNetKicks.com

Continue reading about Today Menu: NHibernate User Type

alkampfer on May 30th, 2008

In an old post of mine I expressed my perplexity with the fetching strategy of Entity Framework. We can discuss on the fact that automatic lazy load can be useful or not, but I expressed my opinion that, if you decide not to include automatic lazy load, and you implement manual load, if the developer [...]



kick it on DotNetKicks.com

Continue reading about Entity Framework and lazy load

alkampfer on May 30th, 2008

One of the key problem with a distributed environment is a good sharing of documentation. It is not important what kind of Lifecycle you can have, from waterfall to Extreme programming, you will have some sort of documentation that needs to be shared among team members. The format of this documentation can vary, it can [...]



kick it on DotNetKicks.com

Continue reading about Distributed team – wiki and documentation