CoreStrings.AmbiguousServiceProperty(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 service property '{property}' of type '{serviceType}' cannot be added to the entity type '{entityType}' because there is another property of the same type. Ignore one of the properties using the [NotMapped] attribute or 'EntityTypeBuilder.Ignore' in 'OnModelCreating'.
public static string AmbiguousServiceProperty (object property, object serviceType, object entityType);
static member AmbiguousServiceProperty : obj * obj * obj -> string
Public Shared Function AmbiguousServiceProperty (property As Object, serviceType As Object, entityType As Object) As String
Parameters
- property
- Object
- serviceType
- Object
- entityType
- 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