http://bugs.freepascal.org/view.php?id=30761
Hi,
is there posibility introduce in class helper method with same name
like in base class ?
For example:
TSQLQueryHelper = class helper for TSQLQuery
public
procedure ExecSQL(const ASQL: string; const Args: array of const);
overload;
Why not create a descendent class simply ?
Yes it is what I have used ;-)
I have one instance of variable:
{$IFDEF xxx}
Query: TRemoteQuery;
{$ELSE}
Query: TSQLQuery;
{$ENDIF}
TRemoteQuery has ExecSQL(A,B) as own method.
I wanted use TSQLQuery but only difference is missing ExecSQL(A,B) so
On Wed, 12 Oct 2016, LacaK wrote:
Hi,
is there posibility introduce in class helper method with same name like in
base class ?
For example:
TSQLQueryHelper = class helper for TSQLQuery
public
procedure ExecSQL(const ASQL: string; const Args: array of const);
overload;
end;
Hi,
is there posibility introduce in class helper method with same name like
in base class ?
For example:
TSQLQueryHelper = class helper for TSQLQuery
public
procedure ExecSQL(const ASQL: string; const Args: array of const);
overload;
end;
procedure TSQLQueryHelper.ExecSQL(const