Share via


CoreStrings.ClientProjectionCapturingConstantInMethodArgument Method

Definition

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