Browse Source

fcl-db: Introduce TObjectField. Only essential parts (added new object properties according to Delphi documentation)

git-svn-id: trunk@49083 -
lacak 4 years ago
parent
commit
803402b225
1 changed files with 5 additions and 0 deletions
  1. 5 0
      packages/fcl-db/src/base/db.pas

+ 5 - 0
packages/fcl-db/src/base/db.pas

@@ -1112,6 +1112,8 @@ type
   TObjectField = class(TField)
   private
     FFieldFields: TFields;
+    FObjectType: string;
+    FUnNamed: boolean;
   protected
     function GetAsVariant: Variant; override;
     function GetFieldCount: Integer;
@@ -1124,6 +1126,9 @@ type
     property FieldCount: Integer read GetFieldCount;
     property Fields: TFields read GetFields;
     property FieldValues[AIndex: Integer]: Variant read GetFieldValue  write SetFieldValue; default;
+    property UnNamed: Boolean read FUnNamed default False;
+  published
+    property ObjectType: string read FObjectType write FObjectType;
   end;
 
 { TIndexDef }