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
'宣言
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 | |
---|---|---|
DomainClasses | Gets a list of the domain classes in the directory. | |
DomainModels | Gets a list of domain models in the directory. | |
DomainObjects | Gets a list of domain objects in the directory. |
Top
Methods
Name | Description | |
---|---|---|
Contains | Indicates whether the directory contains an object with a specific ID. | |
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
FindDomainClass(Guid) | Finds a domain class by specifying its ID. | |
FindDomainClass(String) | Finds a domain class by specifying its full name. | |
FindDomainClass(Type) | Finds a domain class by specifying its implementation type. | |
FindDomainModel(Guid) | Finds a domain model in the data directory. | |
FindDomainModel(String) | Finds a domain model by its full name. | |
FindDomainModel(Type) | Finds a domain model by specifying its implementation type. | |
FindDomainProperty | Finds a domain property with a specific ID. | |
FindDomainRelationship(Guid) | Finds a domain relationship with a specific ID. | |
FindDomainRelationship(String) | Finds a domain relationship with a specific ID. | |
FindDomainRelationship(Type) | Finds a domain relationship by implementation type. | |
FindDomainRole | Finds a domain role with a specific ID. | |
GetDomainClass(Guid) | Gets a domain class with a specific ID. | |
GetDomainClass(String) | Gets a domain class by full name. | |
GetDomainClass(Type) | Gets a domain class by implementation type. | |
GetDomainModel(Guid) | Gets a domain model with a specific ID. | |
GetDomainModel(String) | Gets a domain model by full name. | |
GetDomainModel(Type) | Gets a domain model by its implementation type. | |
GetDomainProperty | Gets a domain property with a specific ID. | |
GetDomainRelationship(Guid) | Gets a domain relationship with a specific ID. | |
GetDomainRelationship(String) | Gets a domain relationship by the full name. | |
GetDomainRelationship(Type) | Gets a domain relationship by the implementation type. | |
GetDomainRole | Gets a domain role with a specific ID. | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
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.