MetaModel.GetFunction Method (MethodInfo)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com 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
)

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
Available since 3.5
Return to top
Show: