CoreStrings.InvalidPropertiesExpression(Object) 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.
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 }}'.
public static string InvalidPropertiesExpression (object expression);
[System.Obsolete]
public static string InvalidPropertiesExpression (object expression);
[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
Parameters
- expression
- Object
Returns
- Attributes
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