Compartir a través de


DomainDataDirectory Class

Stores metadata about the domain models in the store.

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.Modeling.DomainDataDirectory

Namespace:  Microsoft.VisualStudio.Modeling
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)

Syntax

'Declaración
Public NotInheritable Class DomainDataDirectory
public sealed class DomainDataDirectory
public ref class DomainDataDirectory sealed
[<Sealed>]
type DomainDataDirectory =  class end
public final class DomainDataDirectory

The DomainDataDirectory type exposes the following members.

Properties

  Name Description
Public property DomainClasses Gets a list of the domain classes in the directory.
Public property DomainModels Gets a list of domain models in the directory.
Public property DomainObjects Gets a list of domain objects in the directory.

Top

Methods

  Name Description
Public method Contains Indicates whether the directory contains an object with a specific ID.
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method FindDomainClass(Guid) Finds a domain class by specifying its ID.
Public method FindDomainClass(String) Finds a domain class by specifying its full name.
Public method FindDomainClass(Type) Finds a domain class by specifying its implementation type.
Public method FindDomainModel(Guid) Finds a domain model in the data directory.
Public method FindDomainModel(String) Finds a domain model by its full name.
Public method FindDomainModel(Type) Finds a domain model by specifying its implementation type.
Public method FindDomainProperty Finds a domain property with a specific ID.
Public method FindDomainRelationship(Guid) Finds a domain relationship with a specific ID.
Public method FindDomainRelationship(String) Finds a domain relationship with a specific ID.
Public method FindDomainRelationship(Type) Finds a domain relationship by implementation type.
Public method FindDomainRole Finds a domain role with a specific ID.
Public method GetDomainClass(Guid) Gets a domain class with a specific ID.
Public method GetDomainClass(String) Gets a domain class by full name.
Public method GetDomainClass(Type) Gets a domain class by implementation type.
Public method GetDomainModel(Guid) Gets a domain model with a specific ID.
Public method GetDomainModel(String) Gets a domain model by full name.
Public method GetDomainModel(Type) Gets a domain model by its implementation type.
Public method GetDomainProperty Gets a domain property with a specific ID.
Public method GetDomainRelationship(Guid) Gets a domain relationship with a specific ID.
Public method GetDomainRelationship(String) Gets a domain relationship by the full name.
Public method GetDomainRelationship(Type) Gets a domain relationship by the implementation type.
Public method GetDomainRole Gets a domain role with a specific ID.
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Remarks

You can use this class to retrieve information about a domain model, including its classes, properties, relationships, and roles.

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.

See Also

Reference

Microsoft.VisualStudio.Modeling Namespace