diff xslt/generator.csharp.xsl @ 7:3fe157be5141

sync
author cin
date Tue, 06 Mar 2018 19:27:25 +0300
parents 1f4009d4afb6
children
line wrap: on
line diff
--- a/xslt/generator.csharp.xsl	Mon Mar 05 10:37:47 2018 +0300
+++ b/xslt/generator.csharp.xsl	Tue Mar 06 19:27:25 2018 +0300
@@ -73,21 +73,11 @@
 
 	<xsl:template match="*|text()" mode="members" />
 
-	<xsl:template match="m:primaryKey | m:property | m:thisKey | clr:association" mode="members">
+	<xsl:template match="m:primaryKey | m:property" mode="members">
 		<t:trace msg="{name()} {@name}"/>
 		<xsl:apply-templates select="." mode="property"/>
 	</xsl:template>
 	
-	<!-- hasA and hasMany doesn't generate members itself, they delegate this work to inner members -->
-	<xsl:template match="m:hasA | m:hasMany" mode="members">
-		<t:trace msg="{name()} {@name}" />
-		<xsl:apply-templates mode="members" />
-	</xsl:template>
-	
-	<xsl:template match="m:hasA/clr:lazy" mode="members">
-		<xsl:apply-templates select="." mode="field"/>
-	</xsl:template>
-
 	<!-- member-name -->
 	<xsl:template match="*|text()|@*" mode="member-name" />