CoreStrings.ClientProjectionCapturingConstantInMethodArgument 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.
The client projection contains a reference to a constant expression of '{constantType}' which is being passed as an argument to the method '{methodName}'. This could potentially cause a memory leak; consider assigning this constant to a local variable and using the variable in the query instead. See https://go.microsoft.com/fwlink/?linkid=2103067 for more information and examples.
public static string ClientProjectionCapturingConstantInMethodArgument (object constantType, object methodName);
public static string ClientProjectionCapturingConstantInMethodArgument (object? constantType, object? methodName);
static member ClientProjectionCapturingConstantInMethodArgument : obj * obj -> string
Public Shared Function ClientProjectionCapturingConstantInMethodArgument (constantType As Object, methodName As Object) As String
Parameters
- constantType
- Object
- methodName
- Object
Returns
Applies to
Entity Framework