JamesKovacs/nhcontrib — pull request #1 by Geddon (2012-05-25 08:34:46+00:00)
Title: Fixed bug in FixStringValue() in JetDbCommand.cs where exception with desc: "String not recognized as a valid DateTime" would be thrown if p.Value.ToString() was empty. Also upgraded nHibernate to v3.1.0.4000 

private void FixStringValue(IDataParameter p)
{
if (!_convertedDateParameters.Contains(p))
return;

--> if (!string.IsNullOrEmpty((p.Value ?? String.Empty).ToString()))
{
//Someimes two pass conversion makes a parameter value
//of type DateTime to be of String Dbtype
DateTime date = DateTime.Parse(p.Value.ToString());
p.Value = GetNormalizedDateValue(date);
}
}