コード例 #1
0
 /// <summary>
 /// Creates an Odata filter query string from the provided expression.
 /// </summary>
 /// <typeparam name="T">The type of the entity being queried. Typically this will be derrived from <see cref="TableEntity"/> or <see cref="Dictionary{String, Object}"/>.</typeparam>
 /// <param name="client">The <see cref="TableClient"/>.</param>
 /// <param name="filter">A filter expresssion.</param>
 /// <returns>The string representation of the filter expression.</returns>
 public static string CreateFilter <T>(this TableClient client, Expression <Func <T, bool> > filter) => client.Bind(filter);