public string Build(IEntityCommandBuilder commandBuilder) { var parameterName = commandBuilder.AddExpressionValue(inExpression.Values); return(string.Format( inExpression.GetCommandTemplate(), parameterName, inExpression.GetPropertyName())); }
public FormattableString Build(IDapperCommandBuilder commandBuilder) { string commandTemplate = inExpression.GetCommandTemplate(); IFormattable columnName = Sql.Column(inExpression.GetPropertyName()); string parameterName = commandBuilder.AddExpressionValue(inExpression.Values); return(FormattableStringFactory.Create( commandTemplate, columnName, parameterName)); }