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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Entity Framework