This documentation is archived and is not being maintained.

MetaModel.GetFunction Method

Gets the MetaFunction that corresponds to a database function.

Namespace:  System.Data.Linq.Mapping
Assembly:  System.Data.Linq (in System.Data.Linq.dll)

public abstract MetaFunction GetFunction(
	MethodInfo method
)

Parameters

method
Type: System.Reflection.MethodInfo
The method defined on the DataContext or subordinate class that represents the database function.

Return Value

Type: System.Data.Linq.Mapping.MetaFunction
The meta-function that corresponds to a database function.

Database functions are user-defined functions, table-valued functions, and stored procedures.

.NET Framework

Supported in: 4, 3.5

.NET Framework Client Profile

Supported in: 4

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: