CoreStrings.ClientProjectionCapturingConstantInMethodInstance 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}' through the instance method '{methodName}'. This could potentially cause a memory leak; consider making the method static so that it does not capture constant in the instance. See https://go.microsoft.com/fwlink/?linkid=2103067 for more information and examples.
public static string ClientProjectionCapturingConstantInMethodInstance (object constantType, object methodName);
public static string ClientProjectionCapturingConstantInMethodInstance (object? constantType, object? methodName);
static member ClientProjectionCapturingConstantInMethodInstance : obj * obj -> string
Public Shared Function ClientProjectionCapturingConstantInMethodInstance (constantType As Object, methodName As Object) As String
Parameters
- constantType
- Object
- methodName
- Object
Returns
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework