Skip to main content
All docs
V25.2
  • TdxBackendDataSetCollection.Add(string,TDataSet) Method

    Deprecated. Creates a new initialized backend dataset item with a specified user-friendly name and adds the item to the collection.

    Tip

    Use the Add(System.String,Data.DB.TDataSource) function instead.

    Declaration

    procedure Add(const ADataSetAlias: string; ADataSet: TDataSet); overload;

    Parameters

    Name Type Description
    ADataSetAlias string

    Specifies a user-friendly dataset name used in designer dialogs.

    This parameter value initializes the DataSetAlias property of the created collection item.

    ADataSet TDataSet

    Specifies the dataset (a TDataSet descendant instance) associated with the created collection item.

    This parameter value initializes the DataSet property of the new collection item.

    Remarks

    Important

    The Add procedure is deprecated and exists for backward compatibility only.

    We strongly recommend that you replace Add with the Add(System.String,Data.DB.TDataSource) procedure.

    See Also