Class MethodInfoExtensions
- Namespace
- Microsoft.EntityFrameworkCore.Infrastructure
- Assembly
- Microsoft.EntityFrameworkCore.dll
Extension methods for MethodInfo.
This type is typically used by database providers (and other extensions). It is generally not used in application code.
public static class MethodInfoExtensions
- Inheritance
-
MethodInfoExtensions
- Inherited Members
Remarks
See Implementation of database providers and extensions for more information and examples.
Methods
IsEFPropertyMethod(MethodInfo)
Returns true if the given method is Property<TProperty>(object, string).
public static bool IsEFPropertyMethod(this MethodInfo methodInfo)
Parameters
methodInfo
MethodInfoThe method.
Returns
- bool
true if the method is Property<TProperty>(object, string); false otherwise.