Kopīgot, izmantojot


CRUDExtentions Class

Definition

Extensions to support more generic record interaction mechanic's

public static class CRUDExtentions
type CRUDExtentions = class
Public Module CRUDExtentions
Inheritance
CRUDExtentions

Methods

CloseActivity(ServiceClient, String, Guid, String, String, Guid, Boolean)

Closes the Activity type specified. The Activity Entity type supports fax , letter , and phonecall

*Note: This will default to using English names for Status. if you need to use Non-English, you should populate the names for completed for the status and state.

CreateAnnotation(ServiceClient, String, Guid, Dictionary<String,DataverseDataTypeWrapper>, Guid, Boolean)

This creates a annotation [note] entry, related to a an existing entity

Required Properties in the fieldList

notetext (string) = Text of the note,

subject (string) = this is the title of the note

CreateEntityAssociation(ServiceClient, String, Guid, String, Guid, String, Guid, Boolean)

Associates one Entity to another where an M2M Relationship Exists.

CreateMultiEntityAssociation(ServiceClient, String, Guid, String, List<Guid>, String, Guid, Boolean, Boolean)

Associates multiple entities of the same time to a single entity

CreateNewActivityEntry(ServiceClient, String, String, Guid, String, String, String, Dictionary<String,DataverseDataTypeWrapper>, Guid, Boolean)

Creates a new activity against the target entity type

CreateNewRecord(ServiceClient, String, Dictionary<String,DataverseDataTypeWrapper>, String, Boolean, Guid, Boolean)

Uses the dynamic entity patter to create a new entity

DeleteEntity(ServiceClient, String, Guid, Guid, Boolean)

Deletes an entity from the Dataverse

DeleteEntityAssociation(ServiceClient, String, Guid, String, Guid, String, Guid, Boolean)

Removes the Association between 2 entity items where an M2M Relationship Exists.

UpdateEntity(ServiceClient, String, String, Guid, Dictionary<String,DataverseDataTypeWrapper>, String, Boolean, Guid, Boolean)

Generic update entity

UpdateStateAndStatusForEntity(ServiceClient, String, Guid, Int32, Int32, Guid, Boolean)

Updates the State and Status of the Entity passed in.

UpdateStateAndStatusForEntity(ServiceClient, String, Guid, String, String, Guid, Boolean)

Updates the State and Status of the Entity passed in.

Applies to