In revision 4508 of the trunk the TimeAsTimeSpanType does not seem to work like it may should when using MySQL Connector .NET.
MySQL Connector .NET only accepts a value of TimeSpan for a column that is of the MySQL type TIME. But the TimeAsTimeSpanType does provide a DateTime and can only handle a TimeSpan when reading the column.
I created a patch that will remove the ability to get or set a DataTime value from TimeAsTimeSpanType but does provide a value of type TimeSpan for the DataProviders. However for MySQL I could not see the use of DateTime inside of TimeAsTimeSpanType but maybe this is still usefull to other DataProviders so that we may need to split up those types.
In revision 4508 of the trunk the TimeAsTimeSpanType does not seem to work like it may should when using MySQL Connector .NET.
MySQL Connector .NET only accepts a value of TimeSpan for a column that is of the MySQL type TIME. But the TimeAsTimeSpanType does provide a DateTime and can only handle a TimeSpan when reading the column.
for more details see: http://groups.google.com.ar/group/nhibernate-development/browse_thread/thread/c00b6d4f1bcec36c
I created a patch that will remove the ability to get or set a DataTime value from TimeAsTimeSpanType but does provide a value of type TimeSpan for the DataProviders. However for MySQL I could not see the use of DateTime inside of TimeAsTimeSpanType but maybe this is still usefull to other DataProviders so that we may need to split up those types.