Redigera

Dela via


MetaModel.GetFunction(MethodInfo) Method

Definition

When overridden in a derived class, gets the MetaFunction that corresponds to a database function.

public:
 abstract System::Data::Linq::Mapping::MetaFunction ^ GetFunction(System::Reflection::MethodInfo ^ method);
public abstract System.Data.Linq.Mapping.MetaFunction GetFunction (System.Reflection.MethodInfo method);
abstract member GetFunction : System.Reflection.MethodInfo -> System.Data.Linq.Mapping.MetaFunction
Public MustOverride Function GetFunction (method As MethodInfo) As MetaFunction

Parameters

method
MethodInfo

The method defined on the DataContext or subordinate class that represents the database function.

Returns

The meta-function that corresponds to a database function.

Remarks

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

Applies to