CoreStrings.InheritedPropertyCannotBeIgnored(Object, Object, 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.
The property '{property}' cannot be ignored on type '{type}' because it's declared on the base type '{baseType}'. To exclude this property from your model, use the [NotMapped] attribute or 'Ignore' on the base type in 'OnModelCreating'.
public static string InheritedPropertyCannotBeIgnored (object property, object entityType, object baseEntityType);
public static string InheritedPropertyCannotBeIgnored (object? property, object? entityType, object? baseEntityType);
public static string InheritedPropertyCannotBeIgnored (object? property, object? type, object? baseType);
static member InheritedPropertyCannotBeIgnored : obj * obj * obj -> string
static member InheritedPropertyCannotBeIgnored : obj * obj * obj -> string
Public Shared Function InheritedPropertyCannotBeIgnored (property As Object, entityType As Object, baseEntityType As Object) As String
Public Shared Function InheritedPropertyCannotBeIgnored (property As Object, type As Object, baseType As Object) As String
Parameters
- property
- Object
- entityTypetype
- Object
- baseEntityTypebaseType
- 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