DataContext.CreateMethodCallQuery<TResult> Method
Definition
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 table-valued database function associated with the specified .NET method.
protected public:
generic <typename TResult>
System::Linq::IQueryable<TResult> ^ CreateMethodCallQuery(System::Object ^ instance, System::Reflection::MethodInfo ^ methodInfo, ... cli::array <System::Object ^> ^ parameters);
protected internal System.Linq.IQueryable<TResult> CreateMethodCallQuery<TResult> (object instance, System.Reflection.MethodInfo methodInfo, params object[] parameters);
member this.CreateMethodCallQuery : obj * System.Reflection.MethodInfo * obj[] -> System.Linq.IQueryable<'Result>
Protected Friend Function CreateMethodCallQuery(Of TResult) (instance As Object, methodInfo As MethodInfo, ParamArray parameters As Object()) As IQueryable(Of TResult)
Type Parameters
- TResult
The type of the elements in the returned collection.
Parameters
- instance
- Object
The instance of the method invocation (the current object).
- methodInfo
- MethodInfo
The MethodInfo that identifies the .NET method that corresponds to a database method.
- parameters
- Object[]
The array of parameters to be passed to the command.
Returns
A collection of resultant values returned by the database query.
Remarks
The CreateMethodCallQuery method is used in automatically generated code and acts as a proxy to database functions.
Applies to
Povratne informacije
https://aka.ms/ContentUserFeedback.
Stiže uskoro: Tijekom 2024. postupno ćemo ukinuti servis Problemi sa servisom GitHub kao mehanizam za povratne informacije za sadržaj i zamijeniti ga novim sustavom za povratne informacije. Dodatne informacije potražite u članku:Pošaljite i pogledajte povratne informacije za