108 |
|
protected |
109 |
|
FArrayDesc: TISC_ARRAY_DESC; |
110 |
|
FCharSetID: integer; |
111 |
+ |
FAttachment: IAttachment; |
112 |
|
procedure LoadMetaData(aAttachment: IAttachment; aTransaction: ITransaction; |
113 |
|
relationName, columnName: AnsiString); virtual; abstract; |
114 |
|
function NumOfElements: integer; |
115 |
|
public |
116 |
|
constructor Create(aAttachment: IAttachment; aTransaction: ITransaction; |
117 |
|
relationName, columnName: AnsiString); overload; |
118 |
< |
constructor Create(SQLType: cardinal; tableName: AnsiString; columnName: AnsiString; |
118 |
> |
constructor Create(aAttachment: IAttachment;SQLType: cardinal; tableName: AnsiString; columnName: AnsiString; |
119 |
|
Scale: integer; size: cardinal; charSetID: cardinal; |
120 |
|
dimensions: cardinal; bounds: TArrayBounds); overload; |
121 |
|
function GetCodePage: TSystemCodePage; virtual; abstract; |
487 |
|
aTransaction: ITransaction; relationName, columnName: AnsiString); |
488 |
|
begin |
489 |
|
inherited Create; |
490 |
+ |
FAttachment := aAttachment; |
491 |
|
LoadMetaData(aAttachment,aTransaction,relationName, columnName); |
492 |
|
end; |
493 |
|
|
494 |
< |
constructor TFBArrayMetaData.Create(SQLType: cardinal; tableName: AnsiString; |
495 |
< |
columnName: AnsiString; Scale: integer; size: cardinal; charSetID: cardinal; |
496 |
< |
dimensions: cardinal; bounds: TArrayBounds); |
494 |
> |
constructor TFBArrayMetaData.Create(aAttachment: IAttachment; |
495 |
> |
SQLType: cardinal; tableName: AnsiString; columnName: AnsiString; |
496 |
> |
Scale: integer; size: cardinal; charSetID: cardinal; dimensions: cardinal; |
497 |
> |
bounds: TArrayBounds); |
498 |
|
var i: integer; |
499 |
|
begin |
500 |
|
inherited Create; |
501 |
+ |
FAttachment := aAttachment; |
502 |
|
with FArrayDesc do |
503 |
|
begin |
504 |
|
array_desc_dtype := GetDType(SQLType); |