Changeset 13 for trunk/UCore.pas


Ignore:
Timestamp:
Mar 17, 2015, 12:09:11 AM (9 years ago)
Author:
chronos
Message:
  • Modified: Now records are loaded from SQL database using SQL query. The query is parsed also by XML database client to load records from XML file.
  • Added: Packages Network and Synapse.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/UCore.pas

    r11 r13  
    140140  DataTypes.Clear;
    141141  with DataTypes do begin
    142     RegisterType(STypeString, ftString, TFieldString);
    143     RegisterType(STypeInteger, ftInteger, TFieldInteger);
    144     RegisterType(STypeDateTime, ftDateTime, TFieldDateTime);
    145     RegisterType(STypeBoolean, ftBoolean, TFieldBoolean);
    146     RegisterType(STypeFloat, ftFloat, TFieldFloat);
    147     RegisterType(STypeMapPosition, ftMapPosition, TFieldMapPosition);
    148     RegisterType(STypeDate, ftDate, TFieldDate);
    149     RegisterType(STypeTime, ftTime, TFieldTime);
    150     RegisterType(STypeImage, ftImage, TFieldImage);
     142    RegisterType(1, STypeString, ftString, TFieldString);
     143    RegisterType(2, STypeInteger, ftInteger, TFieldInteger);
     144    RegisterType(3, STypeDateTime, ftDateTime, TFieldDateTime);
     145    RegisterType(4, STypeBoolean, ftBoolean, TFieldBoolean);
     146    RegisterType(5, STypeFloat, ftFloat, TFieldFloat);
     147    RegisterType(6, STypeMapPosition, ftMapPosition, TFieldMapPosition);
     148    RegisterType(7, STypeDate, ftDate, TFieldDate);
     149    RegisterType(8, STypeTime, ftTime, TFieldTime);
     150    RegisterType(9, STypeImage, ftImage, TFieldImage);
    151151  end;
    152152end;
Note: See TracChangeset for help on using the changeset viewer.