<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Latest posts for the topic "Control over C# Code Generation"]]></title>
		<link>http://forums.visual-paradigm.com/posts/32.html</link>
		<description><![CDATA[Latest messages posted in the topic "Control over C# Code Generation"]]></description>
		<generator>JForum - http://www.jforum.net</generator>
			<item>
				<title>Control over C# Code Generation</title>
				<description><![CDATA[ I`m currently evaluation DBVA for our enterprise target applications.<br> <br> My first impression is this product is very professional and could answer our architecture problems.<br> <br> Before going too far, I looked at the generated code and noticed all classes are generated without any inheritance.<br> <br> Since client/server applications in .net are mostly using .NET remoting or Web Services.<br> <br> My question  there is a way to control the declaration syntax of the generated classes ?<br> <br> .NET remoting objects must be declared like this:<br> class Car : MarshalByRefObject<br> <br> Web Services:<br> class Car : Serializable<br> <br> <br> Thanks,<br> <br> Sébastien<br> Contek inc.<br> Your partner in quality control and material testing<br> ]]></description>
				<guid isPermaLink="true">http://forums.visual-paradigm.com/posts/2483#19242.html</guid>
				<link>http://forums.visual-paradigm.com/posts/2483#19242.html</link>
				<pubDate><![CDATA[Fri, 21 Sep 2007 23:21:16]]></pubDate>
				<author><![CDATA[ Sébastien]]></author>
			</item>
			<item>
				<title>Re:Control over C# Code Generation</title>
				<description><![CDATA[ Ok I found that only the attribute [Serializable] before the class would be correct.<br> <br> I looked a the Java page and there is a checkbox for the serialization. Same thing should apply for .net.<br> <br> Also:<br> <br> There is no namespace in the generated Code. There is a way to specify ?<br> <br> There is also no namespace and assembly name in the generated mapping file. There is a way to specify ?<br> <br> Thanks,<br> <br> Sébastien<br> ]]></description>
				<guid isPermaLink="true">http://forums.visual-paradigm.com/posts/2483#19298.html</guid>
				<link>http://forums.visual-paradigm.com/posts/2483#19298.html</link>
				<pubDate><![CDATA[Thu, 27 Sep 2007 04:49:12]]></pubDate>
				<author><![CDATA[ Sébastien]]></author>
			</item>
			<item>
				<title>Re:Control over C# Code Generation</title>
				<description><![CDATA[ Hi Sébastien,<br> <br> Sorry for my late reply.<br> <br> For your original post, in ORM code generation, the generated code is for persistence only. For code to be used in remote and web service. please use normal code synchronization. You may consider using the integration version of DB-VA (e.g. DBVA for Eclipse) which supports both ORM and code synchronization. <br> <br> Will get back to you on the second questions as soon as possible.<br> <br> Best regards,<br> Jick<br> ]]></description>
				<guid isPermaLink="true">http://forums.visual-paradigm.com/posts/2483#19302.html</guid>
				<link>http://forums.visual-paradigm.com/posts/2483#19302.html</link>
				<pubDate><![CDATA[Thu, 27 Sep 2007 10:22:02]]></pubDate>
				<author><![CDATA[ Jick]]></author>
			</item>
			<item>
				<title>Re:Control over C# Code Generation</title>
				<description><![CDATA[ Hi Sébastien,<br> <br> The assembly name can be defined in the Database Code Generation dialog box.<br> <br> The namespace is the package defined in the model. (following the model tree structure)<br> <br> Hope this helps.<br> <br> Best regards,<br> Jick<br> ]]></description>
				<guid isPermaLink="true">http://forums.visual-paradigm.com/posts/2483#19311.html</guid>
				<link>http://forums.visual-paradigm.com/posts/2483#19311.html</link>
				<pubDate><![CDATA[Thu, 27 Sep 2007 14:59:50]]></pubDate>
				<author><![CDATA[ Jick]]></author>
			</item>
			<item>
				<title>Re:Control over C# Code Generation</title>
				<description><![CDATA[ Hi Sébastien,<br> <br> We'll support Serializable in the coming release, which will be released in the next week.<br> <br> Best regards,<br> Jick]]></description>
				<guid isPermaLink="true">http://forums.visual-paradigm.com/posts/2483#19321.html</guid>
				<link>http://forums.visual-paradigm.com/posts/2483#19321.html</link>
				<pubDate><![CDATA[Thu, 27 Sep 2007 18:28:19]]></pubDate>
				<author><![CDATA[ Jick]]></author>
			</item>
			<item>
				<title>Re:Control over C# Code Generation</title>
				<description><![CDATA[ Hi Jick,<br> <br> Thanks for your ansers. It works as expected.<br> <br> One thing to mention when generating source code:<br> <br> When using the option persistent API DAO or plain .NET object, the generated code looks like:<br> <br> using System;<br> using Orm;<br> using System.Collections;<br> using NHibernate;<br> using MyNamespace.MyProject.Types;<br> <br> namespace MyNamespace.MyProject.Types {<br> 	/// <summary><br> 	/// ORM-Persistable Class<br> 	/// </summary><br> 	public class EMPLOYE {<br> ...<br> }<br> <br> Since this code could be used on the client side so the reference to Orm and NHibernate should not exists.<br> <br> I`m agree that the DAO classes must used these references but not the data classes. <br> <br> Thanks,<br> <br> Sébastien<br> <br> ]]></description>
				<guid isPermaLink="true">http://forums.visual-paradigm.com/posts/2483#19331.html</guid>
				<link>http://forums.visual-paradigm.com/posts/2483#19331.html</link>
				<pubDate><![CDATA[Fri, 28 Sep 2007 03:23:10]]></pubDate>
				<author><![CDATA[ Sébastien]]></author>
			</item>
			<item>
				<title>Re:Control over C# Code Generation</title>
				<description><![CDATA[ Hi Sébastien ,<br> <br> VP Suite 3.1 Service Pack 1 has been released with the support of Serializable in .NET ORM code generation. If you are running VP Suite 3.1, you can advance to Service Pack 1 by running the Updater inside the bin folder of VP Suite installation directory.<br> <br> As always, feel free to let me know if there are any questions.<br> <br> Best regards,<br> Jick]]></description>
				<guid isPermaLink="true">http://forums.visual-paradigm.com/posts/2483#19438.html</guid>
				<link>http://forums.visual-paradigm.com/posts/2483#19438.html</link>
				<pubDate><![CDATA[Fri, 5 Oct 2007 16:30:28]]></pubDate>
				<author><![CDATA[ Jick]]></author>
			</item>
	</channel>
</rss>