Udostępnij za pośrednictwem


EntityMetadata.ObjectTypeCode Property

Definition

Gets the entity type code.

public:
 property Nullable<int> ObjectTypeCode { Nullable<int> get(); };
[System.Runtime.Serialization.DataMember]
public int? ObjectTypeCode { get; }
[<System.Runtime.Serialization.DataMember>]
member this.ObjectTypeCode : Nullable<int>
Public ReadOnly Property ObjectTypeCode As Nullable(Of Integer)

Property Value

The entity type code.

Attributes

Remarks

Always use the entity schema name (SchemaName) to refer to a custom entity in code and queries. Do not use the object type code (also referred to as entity type) code because tis integer value varies for custom entities in different organizations.

Applies to