DataContext.ExecuteMethodCall(Object, MethodInfo, Object[]) Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Executes the stored database procedure or scalar function associated with the specified .NET method.
protected public:
System::Data::Linq::IExecuteResult ^ ExecuteMethodCall(System::Object ^ instance, System::Reflection::MethodInfo ^ methodInfo, ... cli::array <System::Object ^> ^ parameters);
protected internal System.Data.Linq.IExecuteResult ExecuteMethodCall (object instance, System.Reflection.MethodInfo methodInfo, params object[] parameters);
member this.ExecuteMethodCall : obj * System.Reflection.MethodInfo * obj[] -> System.Data.Linq.IExecuteResult
Protected Friend Function ExecuteMethodCall (instance As Object, methodInfo As MethodInfo, ParamArray parameters As Object()) As IExecuteResult
- instance
- Object
The instance of the method invocation (the current object).
- methodInfo
- MethodInfo
Identifies the .NET method that corresponds to a database method.
- parameters
- Object[]
The array of parameters to be passed to the command.
The result (the return value and output parameters) of executing the specified method.
The ExecuteMethodCall method is used in automatically generated code and acts as a proxy to database functions.
Product | Versions |
---|---|
.NET Framework | 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: