sdk/dotnet/src/Microsoft.Datasync.Client/Query/OData/TableLookupExtensions.cs
/// <summary>
/// Converts the <see cref="BinaryOperatorKind"/> to an OData operator.
/// </summary>
Converts the  to an OData operator.
Converts the to an OData operator .
internal static string ToODataString(this BinaryOperatorKind kind) => kind switch
        {
            BinaryOperatorKind.Or => "or",
            BinaryOperatorKind.And => "and",
            BinaryOperatorKind.Equal => "eq",
            BinaryOperatorKind.NotEqual => "ne",
            BinaryOperatorKind.GreaterThan => "gt",
            BinaryOperatorKind.GreaterThanOrEqual => "ge",
            BinaryOperatorKind.LessThan => "lt",
            BinaryOperatorKind.LessThanOrEqual => "le",
            BinaryOperatorKind.Add => "add",
            BinaryOperatorKind.Subtract => "sub",
            BinaryOperatorKind.Multiply => "mul",
            BinaryOperatorKind.Divide => "div",
            BinaryOperatorKind.Modulo => "mod",
            _ => throw new NotSupportedException($"'{kind}' is not supported in a 'Where' table query expression.")
        };
internal static string ToODataString ( this BinaryOperatorKind kind ) => kind switch { BinaryOperatorKind . Or => " " , BinaryOperatorKind . And => " " , BinaryOperatorKind . Equal => " " , BinaryOperatorKind . NotEqual => " " , BinaryOperatorKind . GreaterThan => " " , BinaryOperatorKind . GreaterThanOrEqual => " " , BinaryOperatorKind . LessThan => " " , BinaryOperatorKind . LessThanOrEqual => " " , BinaryOperatorKind . Add => " " , BinaryOperatorKind . Subtract => " " , BinaryOperatorKind . Multiply => " " , BinaryOperatorKind . Divide => " " , BinaryOperatorKind . Modulo => " " , _ => throw new NotSupportedException ( $" ' { kind } ' is not supported in a 'Where' table query expression. " ) } ;
Converts the  to an OData operator.
Converts the to an OData operator .
BinaryOperatorKind
this