Hi, everyone!
I've sql Server 2000 DB which includes Stored Procedure that return Current DateTime. And I've the procedure that call this procedure :
[Function(Name = "dbo.spGetDBDateTime")]
public ISingleResult<DateTime?> GetDBDateTime()
{
IExecuteResult result = this.ExecuteMethodCall(this, ((MethodInfo)(MethodInfo.GetCurrentMethod())),new object[]{} );
return ((ISingleResult<DateTime?>)(result.ReturnValue));
}
I've got such error: The type 'System.Nullable`1[System.DateTime]' must declare a default (parameterless) constructor in order to be constructed during mapping.
Could you help me, please?