Мельница данных  (28.04.2024)
Интерфейс IInfoProvider

Диаграмма

01type
02  IInfoProvider = interface(IUnknown)
03    ['{64F8072B-7250-4C57-BA8E-D018C7B72CC7}']
04    function Get_TableCount: Integer; safecall;
05    function Get_Table(Index: Integer): ITableInfo; safecall;
06    function Perform(const SQL: WideString): IDataSet; safecall;
07    procedure Connect(const DataBase: WideString; const UserName: WideString; 
08      const Password: WideString); safecall;
09    function Get_CLSID: GUID; safecall;
10    function Get_DateLiteral: WideString; safecall;
11    function Get_TimeLiteral: WideString; safecall;
12    function Get_DateTimeLiteral: WideString; safecall;
13    function Get_RegExpLiteral: WideString; safecall;
14    function Get_ToBooleanLiteral: WideString; safecall;
15    function Get_ToStringLiteral: WideString; safecall;
16    function Get_AllowStartingWith: WordBool; safecall;
17    function Get_AllowArrays: WordBool; safecall;
18    function Get_DisallowNullsSorting: WordBool; safecall;
19    function Get_DisallowSubqueries: WordBool; safecall;
20    function Get_DisallowBetween: WordBool; safecall;
21    function Get_LikeAlwaysEscaped: WordBool; safecall;
22    function Get_MaxIdentLength: Integer; safecall;
23    function Get_ReplaceRegExpDotsWithUnderscore: WordBool; safecall;
24    property TableCount: Integer read Get_TableCount;
25    property Table[Index: Integer]: ITableInfo read Get_Table;
26    property CLSID: GUID read Get_CLSID;
27    property DateLiteral: WideString read Get_DateLiteral;
28    property TimeLiteral: WideString read Get_TimeLiteral;
29    property DateTimeLiteral: WideString read Get_DateTimeLiteral;
30    property RegExpLiteral: WideString read Get_RegExpLiteral;
31    property ToBooleanLiteral: WideString read Get_ToBooleanLiteral;
32    property ToStringLiteral: WideString read Get_ToStringLiteral;
33    property AllowStartingWith: WordBool read Get_AllowStartingWith;
34    property AllowArrays: WordBool read Get_AllowArrays;
35    property DisallowNullsSorting: WordBool read Get_DisallowNullsSorting;
36    property DisallowSubqueries: WordBool read Get_DisallowSubqueries;
37    property DisallowBetween: WordBool read Get_DisallowBetween;
38    property LikeAlwaysEscaped: WordBool read Get_LikeAlwaysEscaped;
39    property MaxIdentLength: Integer read Get_MaxIdentLength;
40    property ReplaceRegExpDotsWithUnderscore: WordBool 
41      read Get_ReplaceRegExpDotsWithUnderscore;
42  end;