Partager via


DbFunctionsExtensions 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 DbFunctionsExtensions
type DbFunctionsExtensions = class
Public Module DbFunctionsExtensions
Inheritance
DbFunctionsExtensions

Remarks

See Database functions for more information and examples.

Methods

Like(DbFunctions, String, String, String)

An implementation of the SQL LIKE operation. On relational databases this is usually directly translated to SQL.

Like(DbFunctions, String, String)

An implementation of the SQL LIKE operation. On relational databases this is usually directly translated to SQL.

Random(DbFunctions)

A random double number generator which generates a number between 0 and 1, exclusive.

Applies to