Partilhar via


EntityMetadata.IsChildEntity Property

 

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online

Gets whether the entity is a child entity.

Namespace:   Microsoft.Xrm.Sdk.Metadata
Assembly:  Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)

Syntax

[DataMemberAttribute]
public Nullable<bool> IsChildEntity { get; internal set; }
<DataMemberAttribute>
Public Property IsChildEntity As Nullable(Of Boolean)
    Get
    Friend Set
End Property

Property Value

Type: System.Nullable<Boolean>

Type: Nullable<Boolean>
true if the entity is a child entity; otherwise, false.

Remarks

A child entity is an entity that inherits security from a parent. There are no privileges associated with child entities. For example InvoiceDetail is a child entity of Invoice. If you can create Invoice records you can create InvoiceDetail records. Most child entities represent line items for the parent. The following table contains the child entities in Microsoft Dynamics CRM Online 2015 Update 1.

ActivityParty

AnnualFiscalCalendar

BulkDeleteFailure

BulkDeleteOperation

BulkOperationLog

CalendarRule

ChannelProperty

ConnectionRoleObjectTypeCode

ContractDetail

ConvertRuleItem

Discount

DuplicateRecord

DuplicateRuleCondition

EmailHash

EntitlementChannel

EntitlementTemplateChannel

FieldPermission

FixedMonthlyFiscalCalendar

InvoiceDetail

KbArticleComment

MonthlyFiscalCalendar

OpportunityProduct

PostComment

PostLike

PostRole

ProcessStage

ProcessTrigger

ProductAssociation

ProductPriceLevel

ProductSubstitute

QuarterlyFiscalCalendar

QueueItem

QuoteDetail

RelationshipRoleMap

ReportCategory

ReportEntity

ReportLink

ReportVisibility

RollupField

RoutingRuleItem

SalesLiteratureItem

SalesOrderDetail

SemiAnnualFiscalCalendar

SLAItem

SyncAttributeMapping

TraceAssociation

UoM

UserFiscalCalendar

WorkflowDependency

WorkflowLog

WorkflowWaitSubscription

See Also

EntityMetadata Class
Microsoft.Xrm.Sdk.Metadata Namespace

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright