Share via


TypeDefinitions Table (System_Runtime Schema)

[This content is no longer valid. For the latest information on "M", "Quadrant", SQL Server Modeling Services, and the Repository, see the Model Citizen blog.]

Stores type definitions. This is a specialized extent in the Types/TypeDefinitions/TypeReferences hierarchy.

Fields

The following table lists the fields in the TypeDefinitions table.

Column Type Required Description

Folder

[Repository.Item].[FolderId]

yes

The Modeling Services Folder that is associated with the type. References the [Repository.Item].[FoldersTable] view.

Id

bigint

yes

The identifier of the type. References the [System_Runtime].[Types] view.

Kind

smallint

yes

An enumeration value between 1 and 5 that describes the kind of the type. These numeric values are equivalent to class, value, enumeration, delegate, and interface.

BaseType

bigint

The base type signature for the type. References the [System_Runtime].[TypeSignatures] view.

Namespace

bigint

yes

The namespace of the type. References the [System_Runtime].[Namespaces] view.

Access

smallint

yes

An enumeration value between 0 and 6 that describes the access restrictions for the type. These numeric values are equivalent to compiler, private, family and assembly, assembly, family, family or assembly, and public.

ContainingType

bigint

The type signature that contains the type. References the [System_Runtime].[TypeDefinitions] view.

IsAbstract

bit

yes

A bit flag that indicates that the type is abstract, meaning that no direct instances of the type are possible.

IsSealed

bit

yes

A bit flag that specifies that the type is sealed, meaning that other type definitions cannot derive from the type.

IsToolSpecialName

bit

yes

A bit flag that specifies that the type name is special and has a reserved use by tools other than the common language runtime.

IsRuntimeSpecialName

bit

yes

A bit flag that specifies that the type name is special and has a reserved use by the common language runtime.

InitializeTypeBeforeFields

bit

yes

A bit flag that specifies that the type requires initialization before its fields are initialized. This supports static method calls.

IsSerializable

bit

yes

A bit flag that specifies that the type is serializable.

Layout

smallint

yes

An enumeration value between 0 and 2 that guides the loader in constructing the layout of the type. These numeric values are equivalent to automatic, sequential, and explicit.

Documentation

nvarchar(max)

The XML Document fragment for the type. Note that this is not yet populated by the LoadAssembly.exe tool.

Attributes

nvarchar(max)

The custom attributes for the type. Note that this is not yet populated by the LoadAssembly.exe tool.

Remarks

See Also

Reference

System_Runtime Tables
System_Runtime Schema

Send comments about this topic to Microsoft.