Export (0) Print
Expand All

AssociationCardinalityMismatchError class

Represents an activation error that indicates that the cardinality of the association does not match the configuration of the foreign identifiers.

System.Object
  Microsoft.SharePoint.BusinessData.Administration.ActivationError
    Microsoft.SharePoint.BusinessData.Administration.MethodError
      Microsoft.SharePoint.BusinessData.Administration.AssociationCardinalityMismatchError

Namespace:  Microsoft.SharePoint.BusinessData.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
public class AssociationCardinalityMismatchError : MethodError

This error can be caused by one of the following scenarios:

  1. The foreign identifier is on the source entity, but the association returns multiple items.

  2. The foreign identifier is on the destination entity, but the association returns a single item.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Community Additions

ADD
Show:
© 2014 Microsoft