請問,以下陳述句,如何轉換為delphi6陳述句?
unit DbAccess;
interface
uses
System.Collections.Generic;
type
public DatabaseSchema = class
public Tables: List<TableSchema>;
public Views: List<ViewSchema>;
public constructor Create;
end; // class DatabaseSchema
implementation
constructor DatabaseSchema.Create;
begin
Tables := List<TableSchema>.Create;
Views := List<ViewSchema>.Create;
end;
end.
uj5u.com熱心網友回復:
你就把你的 TableSchema 和 ViewSchema 當成 AnsiString 和 Integer 等的普通型別,用Tlist進行寫入、讀出就可以了uj5u.com熱心網友回復:
可以用TObjectList轉載請註明出處,本文鏈接:https://www.uj5u.com/houduan/50814.html
標籤:數據庫相關
