Entity methods

The Entity type exposes the following members.

Methods

  Name Description
Public method Activate Activates the external content type.
Public method ContainsDefaultAction Determines whether the external content type contains a default action.
Public method ContainsLocalizedDisplayName Indicates whether the object contains a localized display name. (Inherited from MetadataObject.)
Public method CopyAclAcrossChildren Copies the list of access control entries (ACEs) associated with the metadata object to all of its child metadata objects. Each individually securable metadata object inherits from this class and provides its own implementation of this method. (Inherited from IndividuallySecurableMetadataObject.)
Public method CopyAclAcrossChildrenForSetting Copies the list of access control entries (ACEs) associated with the metadata object to all of its child metadata objects for the specified setting. Each individually securable metadata object inherits from this class and provides its own implementation of this method. (Inherited from IndividuallySecurableMetadataObject.)
Public method CopyAclToSetting Copies the access control list (ACL) from the default setting to the target setting. (Inherited from IndividuallySecurableMetadataObject.)
Public methodStatic member Create Creates an external content type.
Public method Deactivate Deactivates an external content type.
Public method Delete Deletes the MetadataObject object. (Inherited from MetadataObject.)
Public methodStatic member DeleteAllVersions Deletes all version of an external content type.
Public method DeleteNoCascade Deletes the external content type without deleting its containing external system.
Public method GetAccessControlList() Gets the access control list for this metadata object. (Inherited from AccessControlledMetadataObject.)
Public method GetAccessControlList(String) Gets a list of the individually securable child metadata objects. (Inherited from IndividuallySecurableMetadataObject.)
Public method GetAccessControlList(String, Boolean) Gets a list of the individually securable child metadata objects. (Inherited from IndividuallySecurableMetadataObject.)
Public methodStatic member GetById Gets the external content type by using its identifier (ID) and the Metadata Store.
Public method GetDefaultSpecificFinderView Gets the View object for the default SpecificFinder MethodInstance object.
Public method GetMethodInstances Gets the collection of MethodInstance objects for a given MethodInstance type.
Public method HasSpecificFinder Checks whether the external content type has a Read Item.
Public methodStatic member MergeXml Reads the external content type definition from the specified resource XML for the specified external system, and then merges its properties, localized names, and access control entries with the existing external content type in the metadata store.
Public method Read Reads the external content type. (Overrides MetadataObject.Read().)
Protected method ReadCommon This member is reserved for internal use and is not intended to be used directly from your code. (Inherited from MetadataObject.)
Public methodStatic member ReadXml Reads the external content type definition from the specified metadata XML for the specified parent external content type.
Public method SetAccessControlList(IAccessControlList) Sets the access control list (ACL) for an individually securable metadata object. (Inherited from IndividuallySecurableMetadataObject.)
Public method SetAccessControlList(IAccessControlList, String) Sets the access control list (ACL) for an individually securable metadata object for the specified setting. (Inherited from IndividuallySecurableMetadataObject.)
Public method SwitchActive() Deactivates the previously active version of the external content type, and activates the version represented by this external content type object.
Public methodStatic member SwitchActive(IList<Entity>, AdministrationMetadataCatalog) Deactivates the previously active version of the specified external content types, and activates the version represented by the specified external content types.
Public method ToString (Inherited from Object.)
Public method Update Updates the object. (Inherited from MetadataObject.)
Public method Validate() Validates the external content type.
Public methodStatic member Validate(IList<Entity>, AdministrationMetadataCatalog) Validates the external content type by using a list of external content types and the Metadata Store.
Public method WriteSlicedXml Writes a sliced XML fragment in the metadata store. (Inherited from MetadataObject.)
Public method WriteXml(PackageContents) Returns the XML representation of the MetadataObject. (Inherited from MetadataObject.)
Public method WriteXml(PackageContents, String) Returns the XML representation of the MetadataObject, which is generated using the properties, localized names, and access control entries from the specified setting. (Inherited from MetadataObject.)

Top

See also

Reference

Entity class

Microsoft.SharePoint.BusinessData.Administration namespace