sdk/dotnet/src/Microsoft.Datasync.Client.SQLiteStore/Utils/SqlQueryFormatter.cs
/// <summary>
/// Creates a parameter for the provided value.
/// </summary>
/// <param name="value">The value.</param>
/// <returns>The name of the parameter.</returns>
Creates a parameter for the provided value.
Creates a parameter for the provided value .
private string CreateParameter(object value)
        {
            int paramNo = Parameters.Count + 1;
            string paramName = $"@p{paramNo}";
            Parameters.Add(paramName, SqlColumnType.SerializeValue(new JValue(value), allowNull: true));
            return paramName;
        }
private string CreateParameter ( object value ) { int paramNo = Parameters . Count + 1 ; string paramName = $" @p { paramNo } " ; Parameters . Add ( paramName , SqlColumnType . SerializeValue ( new JValue ( value ) , allowNull : true ) ) ; return paramName ; }
Creates a parameter for the provided value.
Creates a parameter for the provided value .
The name of the parameter.
The name of the parameter .
value
object
None