ibatis-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ron Grabowski (JIRA)" <ibatis-...@incubator.apache.org>
Subject [jira] Updated: (IBATISNET-88) TimeSpanTypeHandler.cs is not implemented
Date Fri, 08 Jul 2005 14:17:45 GMT
     [ http://issues.apache.org/jira/browse/IBATISNET-88?page=all ]

Ron Grabowski updated IBATISNET-88:
-----------------------------------

    Attachment: TimeSpanTypeHandler.cs

Untested implementation that converts values to/from DateTime then returns the TimeOfDay property
(which is a TimeSpan). For example:

 // DateTimeTypeHandler.cs
 return dataReader.GetDateTime(mapping.ColumnIndex);

 // TimeSpanTypeHanlder.cs
 return dataReader.GetDateTime(mapping.ColumnIndex).TimeOfDay;

> TimeSpanTypeHandler.cs is not implemented
> -----------------------------------------
>
>          Key: IBATISNET-88
>          URL: http://issues.apache.org/jira/browse/IBATISNET-88
>      Project: iBatis for .NET
>         Type: Bug
>   Components: DataMapper
>     Reporter: Ron Grabowski
>  Attachments: TimeSpanTypeHandler.cs
>
> public override object GetValueByName(ResultProperty mapping, IDataReader dataReader)
> {
>  return "ToDo";
> }

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message