3
votes
Vote UpVote

Attributes

The Doric Temple – Last time, I demonstrated how I would like to decorate my class using attributes to declare the table and column names I eventually will use to persist the class. Here are the the declarations of the two attributes I used. PersistentClassAttribute = class sealed(TCustomAttribute) strict private fTableName : string; public constructor Create(const aTableName : string); property TableName : string read fTableName; end;PersistentPropertyAttribute = class sealed(TCustomAttribute) strict private fColumnName : string; fKey : Boolean; public constructor Create(const ...
Favorite? Off-Topic? noreply@blogger.com @ 2010-03-06 14:05

Statistics

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

Visits by Source

User Actions

Users who voted for this posting

AlinS
Mohammed Nasman
vcldeveloper
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)