zeoslib  UNKNOWN
 All Files
ZDataset.pas
Go to the documentation of this file.
1 {*********************************************************}
2 { }
3 { Zeos Database Objects }
4 { Universal Dataset component }
5 { }
6 { Originally written by Sergey Seroukhov }
7 { }
8 {*********************************************************}
9 
10 {@********************************************************}
11 { Copyright (c) 1999-2012 Zeos Development Group }
12 { }
13 { License Agreement: }
14 { }
15 { This library is distributed in the hope that it will be }
16 { useful, but WITHOUT ANY WARRANTY; without even the }
17 { implied warranty of MERCHANTABILITY or FITNESS FOR }
18 { A PARTICULAR PURPOSE. See the GNU Lesser General }
19 { Public License for more details. }
20 { }
21 { The source code of the ZEOS Libraries and packages are }
22 { distributed under the Library GNU General Public }
23 { License (see the file COPYING / COPYING.ZEOS) }
24 { with the following modification: }
25 { As a special exception, the copyright holders of this }
26 { library give you permission to link this library with }
27 { independent modules to produce an executable, }
28 { regardless of the license terms of these independent }
29 { modules, and to copy and distribute the resulting }
30 { executable under terms of your choice, provided that }
31 { you also meet, for each linked independent module, }
32 { the terms and conditions of the license of that module. }
33 { An independent module is a module which is not derived }
34 { from or based on this library. If you modify this }
35 { library, you may extend this exception to your version }
36 { of the library, but you are not obligated to do so. }
37 { If you do not wish to do so, delete this exception }
38 { statement from your version. }
39 { }
40 { }
41 { The project web site is located on: }
42 { http://zeos.firmos.at (FORUM) }
43 { http://sourceforge.net/p/zeoslib/tickets/ (BUGTRACKER)}
44 { svn://svn.code.sf.net/p/zeoslib/code-0/trunk (SVN) }
45 { }
46 { http://www.sourceforge.net/projects/zeoslib. }
47 { }
48 { }
49 { Zeos Development Group. }
50 {********************************************************@}
51 
52 unit ZDataset;
53 
54 interface
55 
56 {$I ZComponent.inc}
57 
58 uses ZAbstractRODataset, ZAbstractDataset, ZAbstractTable {$IFDEF OLDFPC}, DB {$ENDIF};
59 
60 type
61 
62  {** Implements an universal SQL query for read/only data access. }
63  TZReadOnlyQuery = class (TZAbstractRODataSet)
64  published
65  property Active;
66  property IsUniDirectional;
67  property SQL;
68  property ParamCheck;
69  property Params;
70  property FetchRow; // added by Patyi
71  property Properties;
72  property DataSource;
73  property MasterFields;
74  property MasterSource;
75  property LinkedFields; {renamed by bangfauzan}
76  property IndexFieldNames; {bangfauzan addition}
77  property Options;
78  end;
79 
80  {** Implements an universal SQL query for read/write data access. }
81  TZQuery = class (TZAbstractDataSet)
82  published
83  property Active;
84  property ReadOnly default False;
85  property SQL;
86  property ParamCheck;
87  property ParamChar;
88  property Params;
89  property FetchRow; // added by Patyi
90  property ShowRecordTypes;
91  property Properties;
92  property DataSource;
93  property MasterFields;
94  property MasterSource;
95  property LinkedFields; {renamed by bangfauzan}
96  property IndexFieldNames; {bangfauzan addition}
97  property UpdateMode;
98  property WhereMode;
99  property Options;
100  property Sequence;
101  property SequenceField;
102  end;
103 
104  {** Implements an universal SQL query for single table access. }
105  TZTable = class (TZAbstractTable)
106  public
107  property Exists;
108  published
109  property Active;
110  property ReadOnly default False;
111  property TableName;
112  property ShowRecordTypes;
113  property Properties;
114  property FetchRow; // added by Patyi
115  property MasterFields;
116  property MasterSource;
117  property LinkedFields; {renamed by bangfauzan}
118  property IndexFieldNames; {bangfauzan addition}
119  property UpdateMode;
120  property WhereMode;
121  property Options;
122  property Sequence;
123  property SequenceField;
124  end;
125 
126 implementation
127 
128 end.
129 
130