Click or drag to resize

RddFieldInfo Class

X#
Helper class for the RDD system to store field information
Inheritance Hierarchy
Object
  RddFieldInfo
    AdsColumn
    FoxColumnContext
    DbColumnInfo
    DbfColumn

Namespace:  XSharp.RDD.Support
Assembly:  XSharp.Core (in XSharp.Core.dll) Version: 2.21
Syntax
 CLASS RddFieldInfo
Request Example View Source

The RddFieldInfo type exposes the following members.

Constructors
  NameDescription
Public methodRddFieldInfo(RddFieldInfo)
Construct a RddFieldInfo object.
Public methodRddFieldInfo(String, String, Long, Long, Long)
Construct a RddFieldInfo object.
Public methodRddFieldInfo(String, DbFieldType, Long, Long, Long, DBFFieldFlags)
Construct a RddFieldInfo object.
Top
Properties
  NameDescription
Public propertyCanSort
Can the field be sorted?
Public propertyCaption
Dynamic property for the Caption. Read from the VFP properties collection.
Public propertyColumnName
Dynamic property for the ColumnName. Read from the VFP properties collection.
Public propertyDefaultValue
Dynamic property for the DefaultValue. Read from the VFP properties collection.
Public propertyDescription
Dynamic property for the Description. Read from the VFP properties collection.
Public propertyFieldTypeFlags
FieldType as a string
Public propertyFieldTypeStr
Field type as 1 character string.
Public propertyFormat
Dynamic property for the Format. Read from the VFP properties collection.
Public propertyHasProperties
Does the field have properties.
Public propertyInputMask
Dynamic property for the InputMask. Read from the VFP properties collection.
Public propertyIsAutoIncrement
Is it an autoincrement ?
Public propertyIsBinary
Is it binary ?
Public propertyIsCompressed
Is it a compressed field (not implemented yet) ?
Public propertyIsEncrypted
Is it an encryped field (not implemented yet)?
Public propertyIsMemo
Is it a memo ?
Public propertyIsNullable
Is it nullable ?
Public propertyIsStandard
Is it a standard Dbase 3 field (CDLMN) ?
Public propertyIsUnicode
Is it a unicode text ?
Public propertyIsUnique
Dynamic property for the IsUnique. Read from the VFP properties collection.
Public propertyIsVarLength
Is it a variable length field ?
Public propertyIsVfp
Is it a VFP extended field ?
Public propertyPrimaryKey
Dynamic property for the PrimaryKey. Read from the VFP properties collection.
Public propertyProperties
Dynamic list of optional properties, such as Caption, Description.
Public propertyRuleExpression
Dynamic property for the RuleExpression. Read from the VFP properties collection.
Public propertyRuleText
Dynamic property for the RuleText. Read from the VFP properties collection.
Top
Methods
  NameDescription
Public methodBlankValue
Return the blank (non null) value of the column.
Public methodClone
Clone a RddFieldInfo object.
Public methodCopyValues
Copy values from one object to another.
Public methodStatic memberFindType
Public methodSameType
Check if two fields match in type, length and decimals.
Public methodToString (Overrides ToString.)
Public methodValidate
Validate combinations of type, length and decimals.
Top
Fields
  NameDescription
Public fieldAlias
Alternative name, no length limit. This is the Caption for VFP fields
Public fieldDecimals
Decimal positions
Public fieldFieldType
Field Type
Public fieldFlags
Flags, such as Nullable, AutoIncrement, Binary etc.
Public fieldLength
Physical length in the table
Public fieldName
Name, normally max 10 characters
Public fieldNextValue
Next key for autoincrement columns.
Public fieldOffset
Offset in the record buffer for DBF fields.
Public fieldOrdinal
1 based Ordinal position in the RDD.
Public fieldStepValue
Step value for autoincrement columns.
Top
See Also