DomainClassInfo Class
Represents a domain class.
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk (in Microsoft.VisualStudio.Modeling.Sdk.dll)
Syntax
Public Class DomainClassInfo _
Inherits DomainObjectInfo
Dim instance As DomainClassInfo
public class DomainClassInfo : DomainObjectInfo
public ref class DomainClassInfo : public DomainObjectInfo
public class DomainClassInfo extends DomainObjectInfo
Remarks
There is a DomainClassInfo object for each domain class in a domain model.
For example, if the definition of a domain model has a class A that derives from domain class B and has a relationship to domain class C, then there will be three DomainClassInfo objects, one DomainClassInfo object for each domain class.
Examples
You access DomainClassInfo objects using the DomainDataDirectory of a store.
Store mystore = new Store(somefile);
ICollection<DomainClassInfo> dclasses = Mystore.DomainDataDirectory.DomainClasses.get_DomainClasses();
// foreach …
Inheritance Hierarchy
System.Object
Microsoft.VisualStudio.Modeling.DomainObjectInfo
Microsoft.VisualStudio.Modeling.DomainClassInfo
Microsoft.VisualStudio.Modeling.DomainRelationshipInfo
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.