3
votes
Vote UpVote

Crash Course TMS Aurelius – Blobs

TMS Software Blog – Using blobs in Aurelius is very straightforward and yet very powerful. In summary, all you have to do is declare your field/property as TBlob (declared in unit Aurelius.Types.Blob.pas). This is enough to map it to an existing blob field in your table, and you will be able to save/load the blob content is several many ways. Consider the following mapping: [Entity, Automapping] TCustomer = class private FId: integer; FName: string; FDocument: TBlob; [Column('Photo', [TColumnProp.Lazy])] FPhoto: TBlob; [Column('Descr_Field', [], 65536)] FDescription: string; ...
Favorite? Off-Topic? 2013-02-28 13:00

Statistics

Visits: 295
Votes: 3
Favorites: 0
Off-Topic: 0

Visits by Source

User Actions

Users who voted for this posting

Mohammed Nasman
rafosv
slr4bf
Subscribe:
Contact us to advertise on DelphiFeeds.com

Community Links

Torry Firebird News

Sponsor

 
Please login or register to use this functionality.
(click on this box to dismiss)