delphi泛型实现的接口

delphi泛型实现的接口

type
  TRest<T: record> = record
    resource: string;
    where: string;
    function select: T;
    procedure insert(const aRecord: T);
    procedure update(const aRecord: T);
    procedure delete(const aRecord: T);
  end;

  

posted @ 2023-08-31 06:31  delphi中间件  阅读(160)  评论(0编辑  收藏  举报