CoreStrings.InvalidPropertiesExpression(Object) Method
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.
Caution
This API is now deprecated.
The properties expression '{expression}' is invalid. The expression should represent a simple property access: 't => t.MyProperty'. When specifying multiple properties, use an anonymous type: 't => new {{ t.MyProperty1, t.MyProperty2 }}'.
C#
public static string InvalidPropertiesExpression (object expression);
C#
[System.Obsolete]
public static string InvalidPropertiesExpression (object expression);
C#
[System.Obsolete]
public static string InvalidPropertiesExpression (object? expression);
static member InvalidPropertiesExpression : obj -> string
[<System.Obsolete>]
static member InvalidPropertiesExpression : obj -> string
Public Shared Function InvalidPropertiesExpression (expression As Object) As String
- expression
- Object
- Attributes
Product | Versions (Obsolete) |
---|---|
Entity Framework Core | 3.0, 3.1 (5.0, 6.0) |
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 feedback
Entity Framework is an open source project. Select a link to provide feedback: