|
|
|
Want you conciliate pure object oriented programming and delphi data aware controls? Through Snap Object Dataset components you will be able
to join your business logic with the true rad powerfull delphi data aware controls; in this way your GUI will continue to completely being detached from the persistence layer.
The package contain two components TSnapVirtualDataset and TSnapObjectDataset and one editor for use of this components in a true RAD way. These components are completely free with source and demos, and with the editor you can create automatically for every properties of your business classes the associated TField descendent.
|
|
|
|
|
|
|
|
Char
|
ftString
|
ShortString
|
ftString
|
String
|
ftString
|
AnsiString
|
ftString
|
WideString
|
ftString
|
Boolean
|
ftBoolean
|
ByteBool
|
ftBoolean
|
WordBool
|
ftBoolean
|
LongBool
|
ftBoolean
|
Byte
|
ftSmallInt
|
ShortInt
|
ftSmallInt
|
Smallint
|
ftSmallInt
|
Word
|
ftWord
|
DWORD
|
ftInteger
|
LongWord
|
ftInteger
|
Integer
|
ftInteger
|
Cardinal
|
ftLargeInt
|
|
|
|
|
|
Int64
|
ftLargeInt
|
LongInt
|
ftLargeInt
|
TDate
|
ftDate
|
TTime
|
ftTime
|
TDateTime
|
ftDateTime
|
Real
|
ftFloat
|
Float
|
ftFloat
|
Single
|
ftFloat
|
Double
|
ftFloat
|
Extended
|
ftFloat
|
Currency
|
ftFloat
|
Comp
|
ftFloat
|
TStrings
|
ftMemo
|
TPicture
|
ftGraphic
|
TCollection
|
ftDataset
|
TObjectList
|
ftDataset
|
TObject
|
ftDataset
|
|
|
|
|
|
The TSnapObjectDataset supports the Master/detail relations through the MasterDatasource property, or through the DatasetField property. If we suppose
of having a class, ours Master, with a property that inherits from TObject, this property could be connected with an other TSnapObjectDataset that will be the Detail of the relation.
|
|
|
|
TSnapObjectDataset Editor This is an
editor to create in a easy way the dataset fields according to the class properties of your business object classes. With this editor you do not need to register your business object class into the delphi designer
so that class properties can be available from the object inspector, but you need only the source of your business object class and the properties of your classes will be available through this editor.
|
|
|