Blog Main Page

PlayingWithExpressions – Part 5: DateTimeExpressionCreator

In this blog post, we explore the DateTimeExpressionCreator class, a versatile tool empowering developers to craft DateTime comparison expressions for specific target DateTime properties. Through a meticulous analysis of the class's structure, methods, and underlying logic, we illuminate its role as a valuable asset for addressing dynamic DateTime filtering scenarios.

Read more →

PlayingWithExpressions – Part 4: NumericTypesExpressionCreator

In this blog post, we delve into the functionalities of the NumericTypesExpressionCreator class, a powerful tool designed for crafting expressions tailored to numeric comparisons in dynamic scenarios. The CreateExpressions method of the class is dissected step by step, shedding light on its structure, methods, and the underlying logic that empowers developers to effectively handle numeric filtering scenarios.

Read more →

PlayingWithExpressions – Part 3: StringTypesExpressionCreator

In this blog post, we analyze the StringTypesExpressionCreator class, a valuable tool for generating string comparison expressions for specific target string properties. The CreateExpressions method is examined step by step, including the extraction of string member expressions, property access chain construction, type conversion, dynamic method invocation, and the creation of lambda expressions.

Read more →

PlayingWithExpressions – Part 2: Studying Queryable and Enumerable Search Methods

In the world of data manipulation and filtering, the Queryable and Enumerable search extension classes offer developers powerful tools to streamline the process of searching through collections. These extension methods, designed to work with IQueryable and IEnumerable interfaces, leverage a common set of expression creators to dynamically generate filtering expressions based on various data types. In this and later blog post, we will explore the intricacies of both extensions, shedding light on their functionalities and discussing the key differences between them.

Read more →