Ignore:
Timestamp:
Mar 23, 2018, 1:59:25 PM (6 years ago)
Author:
chronos
Message:
  • Modified: Database classes reorganized. Now TDbConnectProfile is class which holds information about connection to database.
  • Modified: TDbManager is top most class for managing other database classes.
  • Modified: TDbConnectParams class contains client specific parameters for connect profile.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Forms/UFormFields.pas

    r15 r20  
    8686  NewField.Table := Fields.Table;
    8787  NewField.Name := SNewField;
    88   if Fields.Table.Database.Engine.DataTypes.Count > 0 then
    89     NewField.DataType := TDataType(Fields.Table.Database.Engine.DataTypes[0]);
     88  if Fields.Table.DbClient.ConnectProfile.ClientType.DataTypes.Count > 0 then
     89    NewField.DataType := TDataType(Fields.Table.DbClient.ConnectProfile.ClientType.DataTypes[0]);
    9090  FormField.Load(NewField);
    9191  if FormField.ShowModal = mrOk then begin
Note: See TracChangeset for help on using the changeset viewer.