diff --git a/transforms01/adl2controllerclasses.xslt b/transforms01/adl2controllerclasses.xslt
index e1e841b..d083306 100755
--- a/transforms01/adl2controllerclasses.xslt
+++ b/transforms01/adl2controllerclasses.xslt
@@ -9,8 +9,8 @@
Transform ADL into (partial) controller classes
$Author: sb $
- $Revision: 1.6 $
- $Date: 2008-02-11 16:21:32 $
+ $Revision: 1.7 $
+ $Date: 2008-02-13 09:52:42 $
-->
+ select="substring( '$Revision: 1.7 $', 11)"/>
@@ -174,7 +174,7 @@ namespace {
record =
hibernator.CreateCriteria(typeof())
- .Add(Expression.Eq("", (()id)))
+ .Add(Expression.Eq("", id))
.UniqueResult<>();
}
@@ -190,9 +190,12 @@ namespace {
* special - BindObjectInstance /should/ do it all. Unfortunately it sometimes
* doesn't, and I haven't yet characterised why not. */
-
+
+
+ // The broken bit: Entity name is
+
+
+
+
/* to update a link table which has no other data than the near and far keys, it is
* sufficient to smash the existing values and create new ones. It's also a lot easier! */
@@ -266,9 +270,7 @@ namespace {
item =
hibernator.CreateCriteria(typeof())
- .Add(Expression.Eq("Id", ((
-
- )index)))
+ .Add(Expression.Eq("Id", index))
.UniqueResult<.>();
if ( ! record..Contains( item))
@@ -337,9 +339,7 @@ namespace {
{
record =
hibernator.CreateCriteria(typeof())
- .Add(Expression.Eq("", ((
-
- )))
+ .Add(Expression.Eq("", id))
.UniqueResult<>();
if ( record != null)
@@ -348,7 +348,7 @@ namespace {
hibernator.Delete(
hibernator.CreateCriteria(typeof())
- .Add(Expression.Eq("", (()id)))
+ .Add(Expression.Eq("", id))
.UniqueResult<>());
hibernator.Flush();
@@ -392,7 +392,7 @@ namespace {
ISession hibernator =
NHibernateHelper.GetCurrentSession( Session[ NHibernateHelper.USERTOKEN],
Session[NHibernateHelper.PASSTOKEN]);
- IList<> instances =
+ IList<> instances =
hibernator.CreateCriteria(typeof())
.List<>();
@@ -515,7 +515,7 @@ namespace {
/// </summary>
/// <param name="">the key value of the record to show</param>
[AccessibleThrough(Verb.Get)]
- public void ( )
+ public void ( )
{
ISession hibernator =
NHibernateHelper.GetCurrentSession( Session[ NHibernateHelper.USERTOKEN],
@@ -601,9 +601,7 @@ namespace {
-
-
-
+
@@ -645,4 +643,4 @@ namespace {
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/transforms01/adl2hibernate.xslt b/transforms01/adl2hibernate.xslt
index 766e844..468583e 100755
--- a/transforms01/adl2hibernate.xslt
+++ b/transforms01/adl2hibernate.xslt
@@ -12,7 +12,7 @@
Transform ADL to Hibernate
$Author: sb $
- $Revision: 1.3 $
+ $Revision: 1.4 $
-->
-
+
+
+
+
@@ -180,25 +214,72 @@
stored in the database -->
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -311,6 +392,16 @@
+
+
+
+
+
+
+
+
+
+
diff --git a/transforms01/adl2mssql.xslt b/transforms01/adl2mssql.xslt
index 8ee2b75..be114ef 100755
--- a/transforms01/adl2mssql.xslt
+++ b/transforms01/adl2mssql.xslt
@@ -12,7 +12,7 @@
Convert ADL to MS-SQL
$Author: sb $
- $Revision: 1.7 $
+ $Revision: 1.8 $
-->
@@ -26,17 +26,22 @@
Name_Id - the name of the auto generated primary key is the name of the entity followed by '_Id'
-->
+
-------------------------------------------------------------------------------------------------
--
-- Database for application version
- -- Generated for MS-SQL 2000+ using adl2mssql.xsl $Revision: 1.7 $
+ -- Generated for MS-SQL 2000+ using adl2mssql.xsl $Revision: 1.8 $
--
-- Code generator (c) 2007 Cygnet Solutions Ltd
--
-------------------------------------------------------------------------------------------------
+
+ use ;
+
+
-------------------------------------------------------------------------------------------------
-- authentication roles
-------------------------------------------------------------------------------------------------
diff --git a/transforms01/csharp-type-include.xslt b/transforms01/csharp-type-include.xslt
index 6e25963..2fc0206 100755
--- a/transforms01/csharp-type-include.xslt
+++ b/transforms01/csharp-type-include.xslt
@@ -10,8 +10,8 @@
one place for ease of maintenance
$Author: sb $
- $Revision: 1.2 $
- $Date: 2008-02-07 16:35:00 $
+ $Revision: 1.3 $
+ $Date: 2008-02-13 09:52:42 $
-->
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ADL: ERROR: could not find C# base type of property
+
+
+
+
+
+
+
+
+
+
+
+
@@ -41,7 +72,7 @@
DateTime
String
String
- bool
+ Boolean
DateTime
int
double