using Apache.Ibatis.DataMapper.MappedStatements;
namespace Apache.Ibatis.DataMapper.SqlClient.Test.Domain
{
///
/// Sample implemantation of
///
public class SqlSourceWithParameter : ISqlSource
{
#region ISqlSource Members
///
/// Gets the SQL text.
///
/// The mapped statement.
/// The parameter object.
///
public string GetSql(IMappedStatement mappedStatement, object parameterObject)
{
return "select * from Accounts where Account_ID = #value#";
}
#endregion
}
}