Fields Extent (System_Runtime Module)
[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.]
Provides field information for types in [System_Runtime].[Types].
Fields
The following table lists the fields in the Fields extent.
Column | Type | Required | Description |
---|---|---|---|
Folder |
yes |
The Modeling Services Folder that is associated with the field. |
|
Id |
Integer64 |
yes |
The identifier of the field. |
DeclaringType |
yes |
The type definition that contains the field. |
|
Name |
Text |
yes |
The name of the field. |
Access |
Integer16 |
yes |
An enumeration value between 0 and 6 that describes the access restrictions for the field. These numeric values are equivalent to compiler, private, family and assembly, assembly, family, family or assembly, and public, respectively. |
Default |
General |
The default value for the field. Note that this is not yet populated by the LoadAssembly.exe tool. |
|
IsStatic |
Logical |
yes |
A bit flag that indicates that the field is static. |
IsToolSpecialName |
Logical |
yes |
A bit flag that specifies that the field name is special and has a reserved use by tools other than the common language runtime (CLR). |
IsRuntimeSpecialName |
Logical |
yes |
A bit flag that specifies that the field name is special and has a reserved use by the common language runtime (CLR). |
IsReadOnly |
Logical |
yes |
A bit flag that specifies that the field is read-only. |
IsConstant |
Logical |
yes |
A bit flag that specifies that the field is a constant. |
IsSerialized |
Logical |
yes |
A bit flag that specifies that the field can be serialized. |
OffsetBytes |
Integer32 |
The number of bytes to offset this field in the layout of the containing type. |
|
Type |
yes |
The type signature of the field. |
|
MarshaledAs |
Text |
Specifies what unmanaged type the field should be marshaled as. If a custom marshaler is specified, this field contains the name of the custom marshaler and its cookie. |
|
MarshaledArrayElementType |
Text |
If this field is marshaled as an ECMA-335 native array (LPArray), this will contain its element type, in the same format as MarshaledAs. |
|
MarshaledArraySizeParameterIndex |
Integer32 |
The index to the parameter in the method that provides the number of elements in a marshaled ECMA-335 native array (LPArray). Not valid for fields. |
|
MarshaledArraySizeConst |
Integer32 |
The number of elements in a marshaled ECMA-335 native array (LPArray). |
|
InitialValue |
Text |
The initial value of a constant field. |
|
Documentation |
Text |
The XML Document fragment for the field. Note that this is not yet populated by the LoadAssembly.exe tool. |
|
Attributes |
Text |
The custom attributes for the field. Note that this is not yet populated by the LoadAssembly.exe tool. |
Remarks
To work with this extent in the SQL Server Modeling Services, see Fields Table (System_Runtime Schema).