DomainClassInfo Class
This page is specific to:.NET Framework Version:2.03.54.0
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)

Syntax

'Usage

Dim instance As DomainClassInfo

'Declaration

Public Class DomainClassInfo _
    Inherits 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.
See Also

Reference

© 2009 Microsoft Corporation. All rights reserved.   Terms of Use | Trademarks | Privacy Statement
Page view tracker
Rate the Lightweight library
x
Lightweight builds on ScriptFree (loband) by adding features you've requested: a SearchBox and default code language selection.
Do you like the SearchBox?
Do you like the tabbed code blocks?
How useful is this topic?
Tell us more.
Thanks
x
You're helping to improve MSDN Online.
Feedback
Switch View
Classic
Lightweight Beta
ScriptFree
Switch View