Click to Rate and Give Feedback

  Switch on low bandwidth view
This page is specific to
Microsoft Visual Studio 2008/.NET Framework 3.5

Other versions are also available for the following:
Domain-Specific Language Tools Reference
DomainClassInfo Class

Updated: November 2007

Represents a domain class.

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

Visual Basic (Declaration)
Public Class DomainClassInfo _
    Inherits DomainObjectInfo
Visual Basic (Usage)
Dim instance As DomainClassInfo
C#
public class DomainClassInfo : DomainObjectInfo
Visual C++
public ref class DomainClassInfo : public DomainObjectInfo
JScript
public class DomainClassInfo extends DomainObjectInfo

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.

You access DomainClassInfo objects using the DomainDataDirectory of a store.

Store mystore = new Store(somefile);
ICollection<DomainClassInfo> dclasses =  Mystore.DomainDataDirectory.DomainClasses.get_DomainClasses();
// foreach …
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker