summaryrefslogtreecommitdiff
path: root/extras/tiopf/demos/Demo_08_Collection/Client_AutoMap_Svr.pas
diff options
context:
space:
mode:
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.pas25
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.