diff options
author | Graeme Geldenhuys <graeme@mastermaths.co.za> | 2010-10-14 12:29:19 +0200 |
---|---|---|
committer | Graeme Geldenhuys <graeme@mastermaths.co.za> | 2010-10-14 12:29:19 +0200 |
commit | ff7f64d95ca92b644e0d66e2195a69344895b2ce (patch) | |
tree | d822b50e87cb21b6820e31c4e07a520d3113b89e /extras/tiopf/demos/Demo_08_Collection/Client_AutoMap_Svr.pas | |
parent | ce211febcabb02606c0d5b45b4c8502a76d6ae58 (diff) | |
download | fpGUI-ff7f64d95ca92b644e0d66e2195a69344895b2ce.tar.xz |
Moved tiOPF related units into the tiOPF repository.
It makes more sense to have the tiOPF related units with the
rest of the tiOPF. It's easier to keep changes in sync, and have
atomic commits across the various GUI toolkits supported by tiOPF.
Diffstat (limited to 'extras/tiopf/demos/Demo_08_Collection/Client_AutoMap_Svr.pas')
-rw-r--r-- | extras/tiopf/demos/Demo_08_Collection/Client_AutoMap_Svr.pas | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/extras/tiopf/demos/Demo_08_Collection/Client_AutoMap_Svr.pas b/extras/tiopf/demos/Demo_08_Collection/Client_AutoMap_Svr.pas deleted file mode 100644 index 6ad1008e..00000000 --- a/extras/tiopf/demos/Demo_08_Collection/Client_AutoMap_Svr.pas +++ /dev/null @@ -1,25 +0,0 @@ -unit Client_AutoMap_Svr; - -{$mode objfpc}{$H+} - -interface - -procedure RegisterMappings; - -implementation -uses - tiOPFManager - ,tiAutoMap - ,Client_BOM - ; - -procedure RegisterMappings; -begin - // Class, Table, Property, Column, Special Info - gTIOPFManager.ClassDBMappingMgr.RegisterMapping(TClient, 'Client', 'OID', 'OID', [pktDB]); - gTIOPFManager.ClassDBMappingMgr.RegisterMapping(TClient, 'Client', 'ClientName', 'Client_Name' ); - gTIOPFManager.ClassDBMappingMgr.RegisterMapping(TClient, 'Client', 'ClientID', 'Client_ID' ); - gTIOPFManager.ClassDBMappingMgr.RegisterCollection(TClients, TClient); -end; - -end. |