Share via


EntityMetadata.IsChildEntity Property

Applies To: Microsoft Dynamics CRM 2013, Microsoft 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

'Declaration
<DataMemberAttribute> _
Public Property IsChildEntity As Nullable(Of Boolean)
[DataMemberAttribute] 
public Nullable<bool> IsChildEntity { get; }

Property Value

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 2011.

activityparty

annualfiscalcalendar

bulkdeletefailure

bulkdeleteoperation

bulkoperationlog

calendarrule

connectionroleobjecttypecode

contractdetail

discount

duplicaterecord

duplicaterulecondition

emailhash

fieldpermission

fixedmonthlyfiscalcalendar

invoicedetail

kbarticlecomment

monthlyfiscalcalendar

opportunityproduct

productpricelevel

quarterlyfiscalcalendar

queueitem

quotedetail

relationshiprolemap

reportcategory

reportentity

reportlink

reportvisibility

rollupfield

salesliteratureitem

salesorderdetail

semiannualfiscalcalendar

uom

userfiscalcalendar

workflowdependency

workflowwaitsubscription

Thread Safety

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

Platforms

Development Platforms

Windows Server 2008, Windows Server 2012, Windows 7 (All Versions), Windows 8 (All Versions)

Target Platforms

Windows Server 2008, ,Windows Server 2012, ,Windows 7 (All Versions),

See Also

Reference

EntityMetadata Class
EntityMetadata Members
Microsoft.Xrm.Sdk.Metadata Namespace

Send comments about this topic to Microsoft.
© 2013 Microsoft Corporation. All rights reserved.