Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

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


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.

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5

Community Additions

© 2014 Microsoft. All rights reserved.