Click or drag to resize
DataDictionaryField Class

[This is preliminary documentation and is subject to change.]

Summary description for DataDictionaryField.
Inheritance Hierarchy
SystemObject
  CSC.SC.TOPICA4.DynamicDataDataDictionaryField

Namespace: CSC.SC.TOPICA4.DynamicData
Assembly: CSC.SC.TOPICA4.DynamicData (in CSC.SC.TOPICA4.DynamicData.dll) Version: 4.30.6239.27195
Syntax
C#
public class DataDictionaryField : IEquatable<DataDictionaryField>

The DataDictionaryField type exposes the following members.

Constructors
Methods
  NameDescription
Public methodAddEnum
Add enum-value to field
Public methodAsString
Return string representation
Public methodStatic memberDatabaseTypeToDataType
Compute DataType from type stored in metadata. NB: currently SQL Server only!
Public methodStatic memberDataDictionaryFieldFromMetaData
Create a DataDictionaryField from metadata in the database
Public methodDBDelete
Deletes field from database
Public methodDBInsert
Insert into database
Public methodDBRead
Read on object from DataRow
Public methodDBUpdate
Updates field in supplied database
Public methodDBUpdateEnums
Public methodDebugPrint
Prints field without margin
Public methodDebugPrint(String)
prints field with specified margin
Public methodEnumToString
returns enumeration as string
Public methodEquals(Object)
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodEquals(DataDictionaryField)
Check if two DataDictionaryFields are equal
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodFindEnum
Finds enumeration
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodSQLCreate
Returns SQL-statement to create table
Public methodSQLCreate(DataDictionary, Boolean)
Generate SQL for create table
Public methodTablesContainingField
Return collection of tables, that contain this field
Public methodToString
Returns field as string
(Overrides ObjectToString.)
Top
Properties
  NameDescription
Public propertyCaption
The text displayed in the input form.
Public propertyComputedColumnSQL
Get/Set ComputedColumnSQL
Public propertyDataColumnType
SystemType of DataColumn
Public propertyDataType
Type of data stored in database.
Public propertyDescription
Internal description of field
Public propertyDimension
True => field is used as base for a dimension in a cube (DataWarehouse).
Public propertyEnumCollection
Enum values for this field.
Public propertyFieldName
Field name defined by DataName in form template. Used as field name in database.
Public propertyFieldSize
Width of text fields. Nonzero => generate VARCHAR(nnn), 0 => TEXT (arbitrary length).
Public propertyHasEnums
Has this field enumeration values?
Public propertyHistoryCaption
The text displayed in the history view
Public propertyHistoryOnly
Get HistoryOnly - false: normal field, true: only in history table
Public propertyIsComputed
Is field computed.
Public propertyIsDateStart
Field is used as DateStart
Public propertyIsDateStop
Field is used as DateStop
Public propertyIsIdentity
Field is IDENTITY in database (autoincrement).
Public propertyIsIndex
Generate index on this field.
Public propertyIsInternal
Field is auto generated internal field
Public propertyIsPersisted
Get/Set IsPersisted
Public propertyIsStatus
Field is auto-generated and used for misc. status information.
Public propertyLink
Link (e.g. URL) to external description of field
Public propertyLookupViewName
Return the name of the lookup view for this enum field (if the field is not enum an empty string is returned")
Public propertyMapToExternalField
Get/Set MapToExternalField: Reference to fiel in external system
Public propertyMeasure
True => field is used as base for a measure in a cube (DataWarehouse).
Public propertyNonBlankCaption
Get a non-blank caption : first nonblank value in this sequeunce: Caption, HistoryCaption, FieldName
Public propertyNonBlankHistoryCaption
Get a non-blank historycaption : first nonblank value in this sequeunce: HistoryCaption, Caption, FieldName
Public propertyReferencesField
Get/set ReferencesField : Reference to field in table specifed by ReferencesTable
Public propertyReferencesTable
Get/set ReferencesTable: Reference to table in current database
Public propertySetValueOnCopy
Get/Set SetValueOnCopy: An expression used to compute value in newly created record in copy operation.
Public propertyViewName
Field name in auto-generated views etc.
Top
See Also