MetaModel.GetFunction Method (MethodInfo)


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

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.

.NET Framework
Available since 3.5
Return to top