using System.Collections.Generic;
namespace Dapper
{
partial class SqlMapper
{
///
/// Represents a placeholder for a value that should be replaced as a literal value in the resulting sql
///
internal struct LiteralToken
{
///
/// The text in the original command that should be replaced
///
public string Token { get; }
///
/// The name of the member referred to by the token
///
public string Member { get; }
internal LiteralToken(string token, string member)
{
Token = token;
Member = member;
}
internal static readonly IList None = new LiteralToken[0];
}
}
}