using Apache.Ibatis.DataMapper.MappedStatements;
namespace Apache.Ibatis.DataMapper.SqlClient.Test.Domain
{
///
/// Sample implemantation of
///
public class SqlSourceWithInlineParameter : 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 = @{Id}";
}
#endregion
}
}