diff options
Diffstat (limited to 'demos/northwind-db/protected/application.xml')
-rw-r--r-- | demos/northwind-db/protected/application.xml | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/demos/northwind-db/protected/application.xml b/demos/northwind-db/protected/application.xml new file mode 100644 index 00000000..3ac9c67c --- /dev/null +++ b/demos/northwind-db/protected/application.xml @@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="utf-8"?>
+
+<application id="northwind-db" mode="Debug">
+ <!-- alias definitions and namespace usings -->
+ <paths>
+ <using namespace="System.Data.*" />
+ <using namespace="System.Data.ActiveRecord.*" />
+ <using namespace="System.Data.ActiveRecord.Scaffold.*" />
+ <using namespace="Application.database.*" />
+ </paths>
+
+ <modules>
+ <module class="TActiveRecordConfig">
+ <!-- db file is relative to the index.php -->
+ <database ConnectionString="sqlite:protected/data/Northwind.db" />
+ </module>
+ <module class="System.I18N.TGlobalization" DefaultCharset="UTF-8" />
+ </modules>
+
+</application>
\ No newline at end of file |