Hi ,
Just started with ibatis tutorial 1.2.1. ( the .net 2.0 tutorial URL failed
to download ??).
In the singleton class ( as listed below ) I got the following error (Using
VS2005 and .Net 2.0)
Cannot implicitly convert type 'IBatisNet.DataMapper.ISqlMapper' to
'IBatisNet.DataMapper.SqlMapper'.
An explicit conversion exists (are you missing a cast?)
Any clues what's going on here?
-Frank
using IBatisNet.DataMapper;
namespace iBatis
{
/// <summary>
/// Base class for Mapper objects (*Mapper).
/// Provides shared utility methods.
/// </summary>
public abstract class MapperBase
{
public SqlMapper Mapper()
{
return IBatisNet.DataMapper.Mapper.Instance ();
}
}
}