InitializeFrom Function
Initializes a new record from an existing record.
Note
Use InitializeFrom to get the data to create a record from another record
Parameters
Parameters allow for data to be passed to the function.
| Name | Type | Nullable | Unicode | Description |
|---|---|---|---|---|
| EntityMoniker | crmbaseentity | False | True | The record that is the source for initializing. |
| SkipParentalRelationshipMapping | Edm.Boolean | True | True | Don't include data from the parental relationship. |
| TargetEntityName | Edm.String | False | False | The logical name of the target entity. |
| TargetFieldType | TargetFieldType | False | True | The attributes are to be initialized in the initialized instance. |
| RetrieveConsumableRecord | Edm.Boolean | True | True | For internal use only. |
Return type
| Type | Nullable | Description |
|---|---|---|
| crmbaseentity | False | The InitializeFrom function returns the following value. |