Extensions

The Kipon Solid platform is offering som convinient extensions related to writing plugins. The section is documented by its namespace. To get the method mentioned here, add the "using [namespace]" in the top of your class code.

Kipon.Xrm.Extensions.IQueryable

WhereIn: public static IQueryable<TSource> WhereIn<TSource, TValue>(this IQueryable<TSource> source, Expression<Func<TSource, TValue>> valueSelector, IEnumerable<TValue> values)

This method is adding IN clause to an iqueryable parsed in source, filtering on the valueSelector column, with the values parsed in values

  • source: The base query to add an in clause
  • valueSelector: The column to filter on within the entity
  • values: The values to be selected

© Kipon ApS 2020, 2021, 2022, 2023. All content on the page is the property of Kipon ApS. Any republish or copy of this content is a violation. The content of this site is NOT open source, and cannot be copied, republished or used in any context without explcit permission from the owner.