Model Methods

Include Protected Members
Include Inherited Members

The Model type exposes the following members.

Methods

  Name Description
Public method AddEntity Adds an external content type (Entity object) to the model.
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 a new Model object.
Public method Delete Deletes the MetadataObject object. (Inherited from MetadataObject.)
Public method DeleteNoCascade Deletes the Model object, but keeps the external content type objects in it intact.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
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 Model object given its identifier (ID).
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public methodStatic member MergeXml Reads the Model definition from the specified resource XML from the specified metadata store, and then merges its properties, localized names, and access control entries with the existing Model in the metadata store.
Public method Read Updates the Model object with the latest data from Metadata Store. (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 Model definition from the specified metadata XML for the specified Metadata Store.
Public method RemoveEntity Removes an external content type from the Model object.
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 ToString (Inherited from Object.)
Public method Update Updates the object. (Inherited from MetadataObject.)
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

Model Class

Microsoft.SharePoint.BusinessData.Administration Namespace