Exemple #1
0
 internal VistaDBColumn(string _name,
                        VistaDBType _vistaDBType,
                        int _dataSize,
                        short _columnWidth,
                        short _columnDecimals,
                        bool _allowNull,
                        bool _readOnly,
                        bool _primaryKey,
                        bool _unique,
                        bool _identity,
                        double _identityStep,
                        string _identityValue,
                        string _columnCaption,
                        string _columnDescription,
                        bool _reservedWord,
                        bool _packed,
                        bool _hidden,
                        bool _encrypted,
                        bool _unicode)
 {
     name              = _name;
     vistaDBType       = _vistaDBType;
     type              = VistaDBAPI.GetFieldType(vistaDBType);
     dataSize          = _dataSize;
     columnWidth       = _columnWidth;
     columnDecimals    = _columnDecimals;
     allowNull         = _allowNull;
     readOnly          = _readOnly;
     primaryKey        = _primaryKey;
     unique            = _unique;
     identity          = _identity;
     identityStep      = _identityStep;
     identityValue     = _identityValue;
     columnCaption     = _columnCaption;
     columnDescription = _columnDescription;
     reservedWord      = _reservedWord;
     packed            = _packed;
     hidden            = _hidden;
     encrypted         = _encrypted;
     unicode           = _unicode;
 }