There are times when I enjoy things in NH... there are times when I hate the
code we are maintain...
especially when I find a bug in some Jurassic part of the code

This test fail!!!
[Test]
public void StartsWithWhenContainsParameters()
{
SqlString sql = new SqlString(" and ", "(", new SqlString("blah = ",
Parameter.Placeholder), ")");
Assert.IsTrue(sql.StartsWithCaseInsensitive(" and"));
Assert.IsFalse(sql.StartsWithCaseInsensitive("blah"));
}
:((
took me a while before understand that the cause was there.
Well ... at least I have to suffer for a few more days ...

-- 
Fabio Maulo

Reply via email to