#region Apache Notice
/*****************************************************************************
* $Header: $
* $Revision: 638571 $
* $Date: 2008-03-18 22:11:57 +0100 (mar., 18 mars 2008) $
*
* iBATIS.NET Data Mapper
* Copyright (C) 2004 - Gilles Bayon
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
********************************************************************************/
#endregion
#region Using
using System.Data;
#endregion
namespace IBatisNet.DataMapper.TypeHandlers{
/// <summary>
/// Allows values to be retrieved from the underlying IDataReader.
/// TypeHandlerCallback implementations use this interface to
/// get values that they can subsequently manipulate before
/// having them returned. * or index with these methods.
/// </summary>
/// <remarks>
/// There is no need to implement this. The implementation
/// will be passed into the TypeHandlerCallback automatically.
/// </remarks>
public interface IResultGetter
{
/// <summary>
/// Returns the underlying IDataReader
/// </summary>
IDataReader DataReader { get; }
/// <summary>
/// Get the parameter value
/// </summary>
object Value { get; }
}
}
|