Click or drag to resize

CustomerRelationship Class

Relationship between a customer and a partner in which either can be an account or contact.
Inheritance Hierarchy
SystemObject
  Entity
    Crm.MSCrmServiceCustomerRelationship

Namespace: Crm.MSCrmService
Assembly: Scripting (in Scripting.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public class CustomerRelationship : Entity, 
	INotifyPropertyChanging, INotifyPropertyChanged

The CustomerRelationship type exposes the following members.

Constructors
 NameDescription
Public methodCustomerRelationship Default Constructor.
Top
Properties
 NameDescription
Public propertyaccount_customer_relationship_customer N:1 account_customer_relationship_customer
Public propertyaccount_customer_relationship_partner N:1 account_customer_relationship_partner
Public propertyAttributes
(Inherited from Entity)
Public propertybusiness_unit_customer_relationship N:1 business_unit_customer_relationship
Public propertycontact_customer_relationship_customer N:1 contact_customer_relationship_customer
Public propertycontact_customer_relationship_partner N:1 contact_customer_relationship_partner
Public propertyConverseRelationshipId Unique identifier of the converse relationship of the customer relationship.
Public propertyCreatedBy Shows who created the record.
Public propertycreatedby_customer_relationship N:1 createdby_customer_relationship
Public propertyCreatedOn Shows the date and time when the customer relationship was created. The date and time are displayed in the time zone selected in Microsoft Dynamics CRM options.
Public propertyCreatedOnBehalfBy Shows who created the record on behalf of another user.
Public propertycreatedonbehalfby_customer_relationship N:1 createdonbehalfby_customer_relationship
Public propertyCustomerId Select the primary account or contact involved in the customer relationship.
Public propertyCustomerRelationship_AsyncOperations 1:N CustomerRelationship_AsyncOperations
Public propertyCustomerRelationship_BulkDeleteFailures 1:N CustomerRelationship_BulkDeleteFailures
Public propertyCustomerRelationship_ProcessSessions 1:N CustomerRelationship_ProcessSessions
Public propertyCustomerRelationshipId Unique identifier of the customer relationship.
Public propertyCustomerRoleDescription Type additional information about the primary party's role in the customer relationship, such as the length or quality of the relationship.
Public propertyCustomerRoleId Choose the primary party's role or nature of the relationship the customer has with the second party. The field is read-only until both parties have been selected. Administrators can configure role values under Business Management in the Settings area.
Public propertyEntityState
(Inherited from Entity)
Public propertyExtensionData
(Inherited from Entity)
Public propertyFormattedValues
(Inherited from Entity)
Public propertyHasLazyFileAttribute
(Inherited from Entity)
Public propertyId
(Overrides Entity.Id)
Public propertyImportSequenceNumber Unique identifier of the data import or data migration that created this record.
Public propertyItem
(Inherited from Entity)
Public propertyKeyAttributes
(Inherited from Entity)
Public propertyLazyFileAttributeKey
(Inherited from Entity)
Public propertyLazyFileAttributeValue
(Inherited from Entity)
Public propertyLazyFileSizeAttributeKey
(Inherited from Entity)
Public propertyLazyFileSizeAttributeValue
(Inherited from Entity)
Public propertyLogicalName
(Inherited from Entity)
Public propertyModifiedBy Shows who last updated the record.
Public propertymodifiedby_customer_relationship N:1 modifiedby_customer_relationship
Public propertyModifiedOn Shows the date and time when the record was last updated. The date and time are displayed in the time zone selected in Microsoft Dynamics CRM options.
Public propertyModifiedOnBehalfBy Shows who created the record on behalf of another user.
Public propertymodifiedonbehalfby_customer_relationship N:1 modifiedonbehalfby_customer_relationship
Public propertyOverriddenCreatedOn Date and time that the record was migrated.
Public propertyOwnerId Enter the user or team who is assigned to manage the record. This field is updated every time the record is assigned to a different user.
Public propertyOwningBusinessUnit Unique identifier of the business unit that owns the customer relationship.
Public propertyOwningTeam Unique identifier of the team who owns the customer relationship.
Public propertyOwningUser Unique identifier of the user who owns the customer relationship.
Public propertyPartnerId Select the secondary account or contact involved in the customer relationship.
Public propertyPartnerRoleDescription Type additional information about the secondary party's role in the customer relationship, such as the length or quality of the relationship.
Public propertyPartnerRoleId Choose the secondary party's role or nature of the relationship the customer has with the primary party. The field is read-only until both parties have been selected. Administrators can configure role values under Business Management in the Settings area.
Public propertyReferencedcustomer_relationship_converse_relationship 1:N customer_relationship_converse_relationship
Public propertyReferencingcustomer_relationship_converse_relationship N:1 customer_relationship_converse_relationship
Public propertyRelatedEntities
(Inherited from Entity)
Public propertyrelationship_role_customer_role N:1 relationship_role_customer_role
Public propertyrelationship_role_partner_role N:1 relationship_role_partner_role
Public propertyRowVersion
(Inherited from Entity)
Public propertyteam_customer_relationship N:1 team_customer_relationship
Public propertyuser_customer_relationship N:1 user_customer_relationship
Public propertyuserentityinstancedata_customerrelationship 1:N userentityinstancedata_customerrelationship
Public propertyVersionNumber 
Top
Methods
 NameDescription
Public methodContains
(Inherited from Entity)
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetAttributeValue``1
(Inherited from Entity)
Protected methodGetFormattedAttributeValue
(Inherited from Entity)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Protected methodGetRelatedEntities``1
(Inherited from Entity)
Protected methodGetRelatedEntity``1
(Inherited from Entity)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Protected methodSetAttributeValue
(Inherited from Entity)
Protected methodSetRelatedEntities``1
(Inherited from Entity)
Protected methodSetRelatedEntity``1
(Inherited from Entity)
Public methodToEntity``1
(Inherited from Entity)
Public methodToEntityReference
(Inherited from Entity)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Public methodTryGetAttributeValue``1
(Inherited from Entity)
Top
Events
Fields
See Also