RelationalDbFunctionsExtensions Class

Definition

Provides CLR methods that get translated to database functions when used in LINQ to Entities queries. The methods on this class are accessed via Functions.

public static class RelationalDbFunctionsExtensions
type RelationalDbFunctionsExtensions = class
Public Module RelationalDbFunctionsExtensions
Inheritance
RelationalDbFunctionsExtensions

Remarks

See Database functions for more information and examples.

Methods

Collate<TProperty>(DbFunctions, TProperty, String)

Explicitly specifies a collation to be used in a LINQ query. Can be used to generate fragments such as WHERE customer.name COLLATE 'de_DE' = 'John Doe'.

Applies to