<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.lhotka.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Code-gen Templates</title><link>http://forums.lhotka.net/forums/9.aspx</link><description>Discussion of code-gen templates for CSLA .NET.</description><dc:language /><generator>CommunityServer 2008.5 SP3 (Build: 36.8414)</generator><item><title>Viewpoints Code Generation using CSLA</title><link>http://forums.lhotka.net/forums/thread/29455.aspx</link><pubDate>Sat, 03 Jan 2009 19:31:06 GMT</pubDate><guid isPermaLink="false">49a2225a-bd1e-4c5d-a665-720b81e87ca9:29455</guid><dc:creator>gsibley</dc:creator><slash:comments>1</slash:comments><comments>http://forums.lhotka.net/forums/thread/29455.aspx</comments><wfw:commentRss>http://forums.lhotka.net/forums/commentrss.aspx?SectionID=9&amp;PostID=29455</wfw:commentRss><description>&lt;P&gt;Hi All,&lt;/P&gt;
&lt;P&gt;I'd like to let you know about a new CSLA code generation tool that is available called &lt;A href="http://www.gnomzsoftware.com/viewpoints/"&gt;Viewpoints&lt;/A&gt;. It provides a Visual Studio integrated visual modeling environment along with customizable code generation templates for generating CSLA v3.5 applications. You can check it out on the &lt;A href="http://www.gnomzsoftware.com/"&gt;Gnomz Software&lt;/A&gt; website. Your feedback and template contributions are most welcome!&lt;/P&gt;
&lt;P&gt;P.S. Rocky: Could I please get you to add Viewpoints to your list of CSLA code generators?&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>CSLA.NET 3.7.1 Templates with support for CSharp and VB.NET</title><link>http://forums.lhotka.net/forums/thread/35632.aspx</link><pubDate>Tue, 18 Aug 2009 16:54:17 GMT</pubDate><guid isPermaLink="false">49a2225a-bd1e-4c5d-a665-720b81e87ca9:35632</guid><dc:creator>Blake Niemyjski</dc:creator><slash:comments>2</slash:comments><comments>http://forums.lhotka.net/forums/thread/35632.aspx</comments><wfw:commentRss>http://forums.lhotka.net/forums/commentrss.aspx?SectionID=9&amp;PostID=35632</wfw:commentRss><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;We have just released our new &lt;a href="http://community.codesmithtools.com/blogs/codesmith_csla_releases/archive/2009/08/18/csla-1-1.aspx"&gt;CSLA.NET 1.1 templates&lt;/a&gt; over at &lt;a href="http://www.codesmithtools.com/"&gt;CodeSmith&lt;/a&gt;, They now include generated authorization rules, bug fixes and support for VB.NET!&lt;br&gt;&lt;br&gt;Thanks&lt;br&gt;-Blake Niemyjski&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Working on Code Generation</title><link>http://forums.lhotka.net/forums/thread/35284.aspx</link><pubDate>Sun, 02 Aug 2009 03:29:41 GMT</pubDate><guid isPermaLink="false">49a2225a-bd1e-4c5d-a665-720b81e87ca9:35284</guid><dc:creator>GlennP</dc:creator><slash:comments>3</slash:comments><comments>http://forums.lhotka.net/forums/thread/35284.aspx</comments><wfw:commentRss>http://forums.lhotka.net/forums/commentrss.aspx?SectionID=9&amp;PostID=35284</wfw:commentRss><description>Ok... maybe I'm a little obsessive compulsive, but I need to be complete. I'm a bit obsessed with code generation out of the database objects, and I'm getting ready to start including the CSLA.NET framework into it. (VB and C#)&lt;br /&gt;&lt;br /&gt;My current templates are very good at generating the Stored Procs for Insert, Update and Delte, Effective Dated rows, Many to many relationships, views of currently effective dated rows, table generation scripts, extended properties, Foreign key constraints, etc...&lt;br /&gt;&lt;br /&gt;Does anyone out here have a list of "Got-ya's" I should watch for when creating my own templates?&lt;br /&gt;&lt;br /&gt;Thanks much.&lt;br /&gt;&lt;br /&gt;Glenn</description></item><item><title>Coderush templates - Property template</title><link>http://forums.lhotka.net/forums/thread/28854.aspx</link><pubDate>Wed, 03 Dec 2008 17:56:29 GMT</pubDate><guid isPermaLink="false">49a2225a-bd1e-4c5d-a665-720b81e87ca9:28854</guid><dc:creator>GunnarIF</dc:creator><slash:comments>2</slash:comments><comments>http://forums.lhotka.net/forums/thread/28854.aspx</comments><wfw:commentRss>http://forums.lhotka.net/forums/commentrss.aspx?SectionID=9&amp;PostID=28854</wfw:commentRss><description>&lt;P&gt;Hi!&lt;/P&gt;
&lt;P&gt;Does anyone know about any&amp;nbsp;Coderush templates for CSLA and is willing to share them?&lt;/P&gt;
&lt;P&gt;I created&amp;nbsp;some Coderush templates to create&amp;nbsp;CSLA 3.5 properties. Hope it is usefull&amp;nbsp;for someone. &lt;/P&gt;
&lt;P&gt;I named this one "cslap" (CSLA Property)&lt;/P&gt;
&lt;P&gt;private «Link(string)» «Link(PropertyName,FormatFieldName,PropertyNameFromField)»;&lt;BR&gt;private static PropertyInfo&amp;lt;«Link(string)»&amp;gt; «Link(PropertyName)»Property = RegisterProperty&amp;lt;«Link(string)»&amp;gt;(typeof(«Class»), new PropertyInfo&amp;lt;«Link(string)»&amp;gt;("«Link(PropertyName)»"));&lt;BR&gt;public «FieldStart»«Caret»«Link(string)»«BlockAnchor»«FieldEnd» «FieldStart»«Caret»«Link(PropertyName)»«BlockAnchor»«FieldEnd»&lt;BR&gt;{&lt;BR&gt;&amp;nbsp;get { return GetProperty&amp;lt;«Link(string)»&amp;gt;(«Link(PropertyName)»Property, «Link(PropertyName,FormatFieldName,PropertyNameFromField)»); }&lt;BR&gt;&amp;nbsp; set { SetProperty&amp;lt;«Link(string)»&amp;gt;(«Link(PropertyName)»Property, ref «Link(PropertyName,FormatFieldName,PropertyNameFromField)», value); }&lt;BR&gt;}&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This one is named "cslap?Type?".&amp;nbsp;So you can&amp;nbsp;type&amp;nbsp;for example "cslai"&amp;nbsp;to create CSLA integer property.&lt;/P&gt;
&lt;P&gt;private «Link(«?Get(Type)»)» «Link(PropertyName,FormatFieldName,PropertyNameFromField)»;&lt;BR&gt;private static PropertyInfo&amp;lt;«Link(«?Get(Type)»)»&amp;gt; «Link(PropertyName)»Property = RegisterProperty&amp;lt;«Link(«?Get(Type)»)»&amp;gt;(typeof(«Class»), new PropertyInfo&amp;lt;«Link(«?Get(Type)»)»&amp;gt;("«Link(PropertyName)»"));&lt;BR&gt;public «FieldStart»«Caret»«Link(«?Get(Type)»)»«BlockAnchor»«FieldEnd» «FieldStart»«Caret»«Link(PropertyName)»«BlockAnchor»«FieldEnd»&lt;BR&gt;{&lt;BR&gt;&amp;nbsp;get { return GetProperty&amp;lt;«Link(«?Get(Type)»)»&amp;gt;(«Link(PropertyName)»Property, «Link(PropertyName,FormatFieldName,PropertyNameFromField)»); }&lt;BR&gt;&amp;nbsp; set { SetProperty&amp;lt;«Link(«?Get(Type)»)»&amp;gt;(«Link(PropertyName)»Property, ref «Link(PropertyName,FormatFieldName,PropertyNameFromField)», value); }&lt;BR&gt;}&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Gunnar&lt;/P&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Where's the beef?</title><link>http://forums.lhotka.net/forums/thread/32638.aspx</link><pubDate>Fri, 17 Apr 2009 13:52:16 GMT</pubDate><guid isPermaLink="false">49a2225a-bd1e-4c5d-a665-720b81e87ca9:32638</guid><dc:creator>jrosenthal</dc:creator><slash:comments>3</slash:comments><comments>http://forums.lhotka.net/forums/thread/32638.aspx</comments><wfw:commentRss>http://forums.lhotka.net/forums/commentrss.aspx?SectionID=9&amp;PostID=32638</wfw:commentRss><description>I think CSLA is great and one of the coolest coding projects that have come around.&amp;nbsp; I have been developing using v 3.0 to complete a project but now looking to move on.&amp;nbsp; I downloaded 3.6.2 and got the demos working (the ones I've tried).&amp;nbsp; I use CodeSmith 5.0 and love it.&amp;nbsp; I see talk about this coming out and that coming out but don't see anything out.&amp;nbsp; Now realize that I am talking about posts that claim pending releases that were posted months ago.&amp;nbsp; What happened?&amp;nbsp; What happened to the support of this great project?&amp;nbsp; I am just looking in the wrong spot?&amp;nbsp; It wouldn't be the first time.&amp;nbsp; But I search CodeSmith and I search here and i search google and the latest of posts regarding some of this stuff is from '08.&lt;br&gt;&lt;br&gt;Help please.&lt;br&gt;&lt;br&gt;Jeff&lt;br&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>CodeSmith 3.6.x Template Suggestions </title><link>http://forums.lhotka.net/forums/thread/30164.aspx</link><pubDate>Wed, 21 Jan 2009 23:05:13 GMT</pubDate><guid isPermaLink="false">49a2225a-bd1e-4c5d-a665-720b81e87ca9:30164</guid><dc:creator>Blake Niemyjski</dc:creator><slash:comments>9</slash:comments><comments>http://forums.lhotka.net/forums/thread/30164.aspx</comments><wfw:commentRss>http://forums.lhotka.net/forums/commentrss.aspx?SectionID=9&amp;PostID=30164</wfw:commentRss><description>Hello,&lt;br&gt;&lt;br&gt;I'm a developer over at &lt;a href="http://www.codesmithtools.com/default.aspx"&gt;CodeSmith Tools &lt;/a&gt;and
we are currently implementing new CSLA 3.6.x templates. If any of you
have any template suggestions or improvements that you would like to see please
let me know.&lt;br&gt;&lt;br&gt;Thanks&lt;br&gt;-Blake Niemyjski


									&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>CslaXML.cst problem with EntitySetName for child collections</title><link>http://forums.lhotka.net/forums/thread/31573.aspx</link><pubDate>Tue, 03 Mar 2009 11:07:16 GMT</pubDate><guid isPermaLink="false">49a2225a-bd1e-4c5d-a665-720b81e87ca9:31573</guid><dc:creator>nampord</dc:creator><slash:comments>0</slash:comments><comments>http://forums.lhotka.net/forums/thread/31573.aspx</comments><wfw:commentRss>http://forums.lhotka.net/forums/commentrss.aspx?SectionID=9&amp;PostID=31573</wfw:commentRss><description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;I wonder if there is a bug in these templates or if it is due to my lack of understanding:&lt;/P&gt;
&lt;P&gt;The example template CslaXML.cst together with the MySample.xml does not produce the expected output:&lt;/P&gt;
&lt;P&gt;the MySample.xml states for the Project object&lt;/P&gt;
&lt;BLOCKQUOTE dir=ltr&gt;
&lt;P&gt;&amp;lt;Property Name="Resources" Type="ProjectResources" EntitySetName="Assignments" Default="ProjectResources.NewProjectResources()" IsChildCollection="true"/&amp;gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;But the Fetch&amp;nbsp;in the &amp;nbsp;ProjectResources class is created with &lt;/P&gt;
&lt;BLOCKQUOTE dir=ltr&gt;
&lt;P&gt;private void Fetch(IEnumerable&amp;lt;Dal.&lt;STRONG&gt;ProjectResources&lt;/STRONG&gt;&amp;gt; dataSet)&lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;I would expect that the EntitySetName (i.e. Assignments) would apprear as the Dal dataset property and not the type of the child collection (i.e. not&amp;nbsp;ProjectResources); What would the EntitySetName be good for otherwise?&lt;/P&gt;
&lt;P&gt;In fact looking at the TemplateBase.cs it looks like that the Dal&amp;nbsp; dataset&amp;nbsp;&amp;nbsp;is always set to the type of the childcollection !?&lt;/P&gt;
&lt;P&gt;Has anyone ever thoroughly&amp;nbsp;tested &amp;nbsp;the CslaXml.cst?&lt;/P&gt;
&lt;P&gt;I am using the 3.6 templates on csla 3.6.1&lt;/P&gt;
&lt;P&gt;Thanks &lt;/P&gt;
&lt;P&gt;Frank&lt;/P&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>What Code Generation tool are folks using now?</title><link>http://forums.lhotka.net/forums/thread/18038.aspx</link><pubDate>Thu, 04 Oct 2007 16:05:09 GMT</pubDate><guid isPermaLink="false">49a2225a-bd1e-4c5d-a665-720b81e87ca9:18038</guid><dc:creator>Rayk</dc:creator><slash:comments>15</slash:comments><comments>http://forums.lhotka.net/forums/thread/18038.aspx</comments><wfw:commentRss>http://forums.lhotka.net/forums/commentrss.aspx?SectionID=9&amp;PostID=18038</wfw:commentRss><description>What code generation tool are folks using, where there templates are updated regularly?&amp;nbsp; I'm hoping to find somewhat recent templates.&amp;nbsp; CodeSmith seems to have fallen out of favor.&lt;br&gt;&lt;br&gt;Thanks,&lt;br&gt;RayK&lt;br&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Getting error when generating EditableRoot with Codesmith templates</title><link>http://forums.lhotka.net/forums/thread/28987.aspx</link><pubDate>Tue, 09 Dec 2008 01:27:35 GMT</pubDate><guid isPermaLink="false">49a2225a-bd1e-4c5d-a665-720b81e87ca9:28987</guid><dc:creator>jnapoli</dc:creator><slash:comments>1</slash:comments><comments>http://forums.lhotka.net/forums/thread/28987.aspx</comments><wfw:commentRss>http://forums.lhotka.net/forums/commentrss.aspx?SectionID=9&amp;PostID=28987</wfw:commentRss><description>I am getting this when generating the&amp;nbsp; EditableRoot.cst &amp;nbsp; &lt;br&gt;&lt;br&gt;LoadProperty&amp;lt;bool, bool?&amp;gt;(FromEnableSketchProperty, data.FromEnableSketch);&lt;br&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br&gt;on above line.&amp;nbsp; &lt;br&gt;Error&amp;nbsp;&amp;nbsp;&amp;nbsp; 4&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br&gt;The non-generic method 'Csla.Core.BusinessBase.LoadProperty(Csla.Core.IPropertyInfo, object)' &lt;br&gt;cannot be used with type arguments&amp;nbsp;&amp;nbsp;&amp;nbsp; C:\Projects\AssessPro.NET\CslaSample\ConsoleApplication1\ConsoleApplication1\Csla3.cs&amp;nbsp;&amp;nbsp;&amp;nbsp; 368&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br&gt;5&amp;nbsp;&amp;nbsp;&amp;nbsp; ConsoleApplication1&lt;br&gt;&lt;br&gt;&amp;nbsp; Code was generated at 12/8/2008 8:10:11 PM by jnapoli&lt;br&gt;//&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Template path: C:\Documents and Settings\jnapoli\My Documents\CSLA.net\CSLAcontrib-41428\CodeGenTemplates\CodeSmith\CSLA35\CSharp\EditableRoot.cst&lt;br&gt;//&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Template website: http://www.codeplex.com/Wiki/View.aspx?ProjectName=CSLAcontrib&lt;br&gt;&lt;br&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Problems with CodeSmith C# Template</title><link>http://forums.lhotka.net/forums/thread/29798.aspx</link><pubDate>Wed, 14 Jan 2009 10:20:46 GMT</pubDate><guid isPermaLink="false">49a2225a-bd1e-4c5d-a665-720b81e87ca9:29798</guid><dc:creator>Rizshe</dc:creator><slash:comments>2</slash:comments><comments>http://forums.lhotka.net/forums/thread/29798.aspx</comments><wfw:commentRss>http://forums.lhotka.net/forums/commentrss.aspx?SectionID=9&amp;PostID=29798</wfw:commentRss><description>Hi, &lt;br /&gt;I'm working with CSLA2.0 for sometime. &lt;br /&gt;In a recent project we tried to use CodeSmith to generate C# templates and I'm having problems.&lt;br /&gt;Maybe its my understanding OR my lack of knowledge, either way I need some serious help.&lt;br /&gt;&lt;br /&gt;This is the actual code which I wrote a while back.&lt;br /&gt;&lt;br /&gt;namespace BDD.MyImpact.Library.BO&lt;br /&gt;{&lt;br /&gt;    using System;&lt;br /&gt;    using System.Collections.Generic;&lt;br /&gt;    using System.Text;&lt;br /&gt;    using System.Data;&lt;br /&gt;    using System.Data.SqlClient;&lt;br /&gt;    using Csla;&lt;br /&gt;    using Csla.Data;&lt;br /&gt;    using BDD.MyImpact.Library.Data;&lt;br /&gt;&lt;br /&gt;    /// &lt;br /&gt;    /// Readonlylist of a Person Publications&lt;br /&gt;    /// &lt;br /&gt;    [Serializable]&lt;br /&gt;    public class PersonPublicationList : ReadOnlyList&lt;br /&gt;    {&lt;br /&gt;        String _user = String.Empty;&lt;br /&gt;        public String User&lt;br /&gt;        {&lt;br /&gt;            get&lt;br /&gt;            {&lt;br /&gt;                return this._user;&lt;br /&gt;            }&lt;br /&gt;        }&lt;br /&gt;&lt;br /&gt;        #region Factory Methods&lt;br /&gt;        private PersonPublicationList()&lt;br /&gt;        {&lt;br /&gt;&lt;br /&gt;        }&lt;br /&gt;&lt;br /&gt;        public static PersonPublicationList GetPublicationList(String user)&lt;br /&gt;        {&lt;br /&gt;            return DataPortal.Fetch(new Criteria(user));&lt;br /&gt;        }&lt;br /&gt;        #endregion&lt;br /&gt;&lt;br /&gt;        #region Criteria&lt;br /&gt;        [Serializable()]&lt;br /&gt;        private class Criteria&lt;br /&gt;        {&lt;br /&gt;            private String _user;&lt;br /&gt;&lt;br /&gt;            public String User&lt;br /&gt;            {&lt;br /&gt;                get&lt;br /&gt;                {&lt;br /&gt;                    return this._user;&lt;br /&gt;                }&lt;br /&gt;            }&lt;br /&gt;&lt;br /&gt;            public Criteria(String login)&lt;br /&gt;            {&lt;br /&gt;                this._user = login;&lt;br /&gt;            }&lt;br /&gt;&lt;br /&gt;        }&lt;br /&gt;&lt;br /&gt;        #endregion&lt;br /&gt;&lt;br /&gt;        #region Data Access&lt;br /&gt;&lt;br /&gt;        private void DataPortal_Fetch(Criteria criteria)&lt;br /&gt;        {&lt;br /&gt;            using (SqlConnection cn = new SqlConnection(Database.MyImpactConnection))&lt;br /&gt;            {&lt;br /&gt;                cn.Open();&lt;br /&gt;                using (SqlCommand cm = cn.CreateCommand())&lt;br /&gt;                {&lt;br /&gt;                    cm.CommandType = CommandType.StoredProcedure;&lt;br /&gt;                    cm.CommandText = "miapp.pc_get_PersonPublicationList";&lt;br /&gt;                    cm.Parameters.AddWithValue("@user", criteria.User);&lt;br /&gt;                    using (SafeDataReader dr = new SafeDataReader(cm.ExecuteReader()))&lt;br /&gt;                    {&lt;br /&gt;                        IsReadOnly = false;&lt;br /&gt;                        while (dr.Read())&lt;br /&gt;                        {&lt;br /&gt;                            PublicationInfo info = new PublicationInfo(dr.GetInt32("pub_id"),&lt;br /&gt;                                                                      dr.GetString("Title").ToString(),&lt;br /&gt;                                                                      dr.GetInt16("Year"),&lt;br /&gt;                                                                      dr.GetString("web_html"),&lt;br /&gt;                                                                      dr.GetString("journal"));&lt;br /&gt;                            this.Add(info);&lt;br /&gt;&lt;br /&gt;                        }&lt;br /&gt;                        IsReadOnly = true;&lt;br /&gt;                    }&lt;br /&gt;                }&lt;br /&gt;            }&lt;br /&gt;&lt;br /&gt;        }&lt;br /&gt;        #endregion&lt;br /&gt;    }&lt;br /&gt;}&lt;br /&gt;---------------------------------------&lt;br /&gt;I already have a child object for this class which is already in use by another parent class that is why I don't want to generate the child.&lt;br /&gt;&lt;br /&gt;---------------------------------------------&lt;br /&gt;I tried to do SplitPartial but disregard it after I find it a bit rigid in terms of modification as I regarded the generated classes not to be touched and user classes are the ones to be modifiable.&lt;br /&gt;I then sort of go towards the SplitBase as I can easily override the methods but here again I'm having problems.&lt;br /&gt;Here is the code the XML template above generated.&lt;br /&gt;&lt;br /&gt;using System;&lt;br /&gt;using System.Data;&lt;br /&gt;using System.Data.SqlClient;&lt;br /&gt;using Csla;&lt;br /&gt;using Csla.Data;&lt;br /&gt;using BDD.MyImpact.Library.Data;&lt;br /&gt;&lt;br /&gt;namespace BDD.MyImpact.Library.BO&lt;br /&gt;{ &lt;br /&gt;	[Serializable()] &lt;br /&gt;	public abstract class PersonPublicationListBase : Csla.ReadOnlyListBase&lt;br /&gt;		where T : PersonPublicationListBase&lt;br /&gt;		where C : PublicationInfoBase&lt;br /&gt;	{&lt;br /&gt;&lt;br /&gt;		#region Factory Methods&lt;br /&gt;		public static T GetPersonPublicationList()&lt;br /&gt;		{&lt;br /&gt;			return DataPortal.Fetch(new FilterCriteria());&lt;br /&gt;		}&lt;br /&gt;		#endregion //Factory Methods&lt;br /&gt;&lt;br /&gt;		#region Data Access&lt;br /&gt;&lt;br /&gt;		#region Filter Criteria&lt;br /&gt;		[Serializable()]&lt;br /&gt;		protected class FilterCriteria : Csla.CriteriaBase&lt;br /&gt;		{&lt;br /&gt;&lt;br /&gt;			public FilterCriteria() : base(typeof(T))&lt;br /&gt;			{&lt;br /&gt;&lt;br /&gt;			}&lt;br /&gt;		}&lt;br /&gt;		#endregion //Filter Criteria&lt;br /&gt;&lt;br /&gt;		#region Data Access - Fetch&lt;br /&gt;		[Transactional(TransactionalTypes.TransactionScope)] &lt;br /&gt;		private void DataPortal_Fetch(FilterCriteria criteria)&lt;br /&gt;		{&lt;br /&gt;			RaiseListChangedEvents = false;&lt;br /&gt;			IsReadOnly = false;&lt;br /&gt;&lt;br /&gt;			using (SqlConnection cn = new SqlConnection(Database.MyImpactConnection))&lt;br /&gt;			{&lt;br /&gt;				cn.Open();&lt;br /&gt;&lt;br /&gt;				ExecuteFetch(cn, criteria);&lt;br /&gt;			}//using&lt;br /&gt;&lt;br /&gt;			IsReadOnly = true;&lt;br /&gt;			RaiseListChangedEvents = true;&lt;br /&gt;		}&lt;br /&gt;&lt;br /&gt;		protected virtual void ExecuteFetch(SqlConnection cn, FilterCriteria criteria)&lt;br /&gt;		{&lt;br /&gt;			using (SqlCommand cm = cn.CreateCommand())&lt;br /&gt;			{&lt;br /&gt;				cm.CommandType = CommandType.StoredProcedure;&lt;br /&gt;				cm.CommandText = "pc_get_PersonPublicationList";&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;				using (SafeDataReader dr = new SafeDataReader(cm.ExecuteReader()))&lt;br /&gt;				{&lt;br /&gt;					while (dr.Read())&lt;br /&gt;						this.Add(PublicationInfoBase.GetPublicationInfo(dr));&lt;br /&gt;				}&lt;br /&gt;			}//using&lt;br /&gt;		}&lt;br /&gt;		#endregion //Data Access - Fetch&lt;br /&gt;		#endregion //Data Access&lt;br /&gt;	}&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;------------------------------------&lt;br /&gt;Now If you take a look at the code which I wrote and the code which is generated there are differences and I couldn't find a way to sort of get rid of those differences which is essential to let me work?&lt;br /&gt;Any ideas?&lt;br /&gt;&lt;br /&gt;Thanks</description></item><item><title>Need help!!</title><link>http://forums.lhotka.net/forums/thread/30128.aspx</link><pubDate>Wed, 21 Jan 2009 17:35:19 GMT</pubDate><guid isPermaLink="false">49a2225a-bd1e-4c5d-a665-720b81e87ca9:30128</guid><dc:creator>Timsy</dc:creator><slash:comments>1</slash:comments><comments>http://forums.lhotka.net/forums/thread/30128.aspx</comments><wfw:commentRss>http://forums.lhotka.net/forums/commentrss.aspx?SectionID=9&amp;PostID=30128</wfw:commentRss><description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I am new to this group and till now hav been using .NET 2.0 to develop&lt;BR&gt;applications. I want to learn to use the CSLA framework and Codesmith&lt;BR&gt;to generate business objects. Can any one please guide me to the&lt;BR&gt;links/ resources that I need to have to get started.&lt;/P&gt;
&lt;P&gt;Thanks in advance.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Need help with CslaContrib template VB CodeSmith 2.0</title><link>http://forums.lhotka.net/forums/thread/28936.aspx</link><pubDate>Fri, 05 Dec 2008 20:54:39 GMT</pubDate><guid isPermaLink="false">49a2225a-bd1e-4c5d-a665-720b81e87ca9:28936</guid><dc:creator>reagan123</dc:creator><slash:comments>1</slash:comments><comments>http://forums.lhotka.net/forums/thread/28936.aspx</comments><wfw:commentRss>http://forums.lhotka.net/forums/commentrss.aspx?SectionID=9&amp;PostID=28936</wfw:commentRss><description>&lt;p&gt;Hello Everyone.&lt;/p&gt;
&lt;p&gt;I'm new to the templates and i'm trying to generate a
ReadOnlyRootList.&amp;nbsp; My list object is called JobInfoList.&amp;nbsp; I've tried
creating my JobInfo class from both ReadOnlyChild and ReadOnlyRoot and
can't get either to work.&amp;nbsp; When I use ReadOnlyChild it gets to the
following method in the JobInfoBase class and fails&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Friend Shared Function GetJobInfo(ByVal dr As SafeDataReader) As T&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim child As T = DataPortal.Create(Of T)()&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; child.Fetch(dr)&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Return child&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; End Function&lt;/p&gt;
&lt;p&gt;"Csla.DataPortalException: DataPortalFetch failed(System.ArgumentNullException: Value cannot be null. Paramerter name: element"&lt;/p&gt;
&lt;p&gt;If I use ReadOnlyRoot I get a compiler issue on this line in my JobInfoBase class.&lt;/p&gt;
&lt;p&gt;&amp;nbsp; Me.Add(JobInfoBase(Of C).GetJobInfo(dr))&lt;/p&gt;
&lt;p&gt;Can someone help me out to find out what I'm doing wrong?&lt;br&gt;&lt;br&gt;Thanks!&lt;/p&gt;
&lt;p&gt;CodeSmith 2.6&lt;br&gt;CSLA 2.0 VB Templates from CSLA Contrib&lt;br&gt;VisualStudio 2005&lt;br&gt;SplitBase Generation&lt;br&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>CSLA Contrib - c# CodeSmith Templates</title><link>http://forums.lhotka.net/forums/thread/27897.aspx</link><pubDate>Mon, 03 Nov 2008 21:29:06 GMT</pubDate><guid isPermaLink="false">49a2225a-bd1e-4c5d-a665-720b81e87ca9:27897</guid><dc:creator>Jack</dc:creator><slash:comments>2</slash:comments><comments>http://forums.lhotka.net/forums/thread/27897.aspx</comments><wfw:commentRss>http://forums.lhotka.net/forums/commentrss.aspx?SectionID=9&amp;PostID=27897</wfw:commentRss><description>&lt;P&gt;I am having some issues generating a source file when using a stored proc as my datasource vs. a view.&amp;nbsp; When I check my CodeSmith Schema Explorer (Oracle Database) I can navigate to my command, see my sproc and see the input / output variables (output is a refcursor).&amp;nbsp; The field in question is clearly defined as a varchar2(20).&amp;nbsp; The recursor is (select * from view) and generating from the view works okay.&lt;/P&gt;
&lt;P&gt;Any ideas on where to look?&lt;/P&gt;
&lt;P&gt;thx&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;jack&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Generating project "C:\epm\GeneratedFiles\ePM.csp" outputs...&lt;BR&gt;Compiling template "C:\framework\CodeGenTemplates\CodeSmith\CSLA35\CSharp\EditableRoot.cst"...&lt;BR&gt;Template compilation succeeded. (10 ms)&lt;BR&gt;Rendering output 'DataCollection.cs'...&lt;BR&gt;Error: ePM.csp(0,0) Parameter 'DATA_ENTRY_ID': No size set for variable length data type: String.&lt;BR&gt;Stack Trace:&lt;BR&gt;&amp;nbsp;&amp;nbsp; at System.Data.OracleClient.OracleParameterBinding.PrepareForBind(OracleConnection connection, Int32&amp;amp; offset)&lt;BR&gt;&amp;nbsp;&amp;nbsp; at System.Data.OracleClient.OracleCommand.Execute(OciStatementHandle statementHandle, CommandBehavior behavior, Boolean needRowid, OciRowidDescriptor&amp;amp; rowidDescriptor, ArrayList&amp;amp; resultParameterOrdinals)&lt;BR&gt;&amp;nbsp;&amp;nbsp; at System.Data.OracleClient.OracleCommand.Execute(OciStatementHandle statementHandle, CommandBehavior behavior, ArrayList&amp;amp; resultParameterOrdinals)&lt;BR&gt;&amp;nbsp;&amp;nbsp; at System.Data.OracleClient.OracleCommand.ExecuteReader(CommandBehavior behavior)&lt;BR&gt;&amp;nbsp;&amp;nbsp; at SchemaExplorer.OracleSchemaProvider.GetCommandResultSchemas(String connectionString, CommandSchema command)&lt;BR&gt;&amp;nbsp;&amp;nbsp; at SchemaExplorer.CommandSchema.get_CommandResults()&lt;BR&gt;&amp;nbsp;&amp;nbsp; at CodeSmith.Csla.TemplateBase.ObjectInfo.LoadProperties(CommandSchema command, Int32 resultSetIndex, StringCollection uniqueColumns, StringCollection filterColumns)&lt;BR&gt;&amp;nbsp;&amp;nbsp; at CodeSmith.Csla.TemplateBase.ObjectInfo.LoadFromSchema(CodeTemplate template)&lt;BR&gt;&amp;nbsp;&amp;nbsp; at CodeSmith.Csla.TemplateBase.ObjectInfo..ctor(CodeTemplate template)&lt;BR&gt;&amp;nbsp;&amp;nbsp; at _CodeSmith.EditableRoot_cst.__RenderMethod1(TextWriter writer, Control control)&lt;BR&gt;&amp;nbsp;&amp;nbsp; at CodeSmith.Engine.DelegateControl.Render(TextWriter writer)&lt;BR&gt;&amp;nbsp;&amp;nbsp; at CodeSmith.Engine.Control.RenderChildren(TextWriter writer)&lt;BR&gt;&amp;nbsp;&amp;nbsp; at CodeSmith.Engine.Control.Render(TextWriter writer)&lt;BR&gt;&amp;nbsp;&amp;nbsp; at CodeSmith.Engine.CodeTemplate.Render(TextWriter writer)&lt;BR&gt;&amp;nbsp;&amp;nbsp; at CodeSmith.Engine.CodeTemplate.RenderToFile(OutputFile outputFile, Boolean overwrite)&lt;BR&gt;&amp;nbsp;&amp;nbsp; at CodeSmith.Engine.CodeTemplate.RenderToFile(String path, Boolean overwrite)&lt;BR&gt;&amp;nbsp;&amp;nbsp; at CodeSmith.Engine.ProjectCodeGenerator.GenerateCode(CodeSmithProject csp)&lt;BR&gt;Unable to render output DataCollection.cs, skipping...&lt;BR&gt;Done rendering outputs: 0 succeeded, 1 failed, 0 skipped (204ms).&lt;BR&gt;&lt;/P&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>template needed for CSLA.net</title><link>http://forums.lhotka.net/forums/thread/26193.aspx</link><pubDate>Sat, 13 Sep 2008 04:16:04 GMT</pubDate><guid isPermaLink="false">49a2225a-bd1e-4c5d-a665-720b81e87ca9:26193</guid><dc:creator>mcsean</dc:creator><slash:comments>0</slash:comments><comments>http://forums.lhotka.net/forums/thread/26193.aspx</comments><wfw:commentRss>http://forums.lhotka.net/forums/commentrss.aspx?SectionID=9&amp;PostID=26193</wfw:commentRss><description>&lt;P&gt;Sculpture (&lt;A href="http://www.codeproject.com/KB/cs/Sculpture-Part1.aspx"&gt;http://www.codeproject.com/KB/cs/Sculpture-Part1.aspx&lt;/A&gt;)&amp;nbsp;is an open scource Model-Driven Development code generation framework and I found that it could be used to generate CSLA.net code as well, only if any guru could&amp;nbsp;write a "CLSA mold"&amp;nbsp;, in Sculpture term, to work with it. &lt;/P&gt;
&lt;P&gt;Cheers!&lt;/P&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Call for design change in codegen templates</title><link>http://forums.lhotka.net/forums/thread/25995.aspx</link><pubDate>Sat, 06 Sep 2008 18:17:22 GMT</pubDate><guid isPermaLink="false">49a2225a-bd1e-4c5d-a665-720b81e87ca9:25995</guid><dc:creator>WMeints</dc:creator><slash:comments>1</slash:comments><comments>http://forums.lhotka.net/forums/thread/25995.aspx</comments><wfw:commentRss>http://forums.lhotka.net/forums/commentrss.aspx?SectionID=9&amp;PostID=25995</wfw:commentRss><description>Although the codegen templates that are out there are all pretty good there is something which I think is a great miss at the moment.&lt;br&gt;&lt;br&gt;In my projects I always work with a pattern where the Business Objects make use of a data repository class to retrieve raw record data from the database and perform other CRUD related operations. The contract for the repository class is pretty simple. Each method accepts a Data Transfer Object with the data and returns either a collection of DTO's or a single DTO as result or in the case of a delete operation nothing.&lt;br&gt;&lt;br&gt;The repository classes are seperated by using an interface and letting a separate factory class construct the actual instance for me. This enables the use of Inversion Of Control mechanics like Spring.NET or recently Unity.&lt;br&gt;&lt;br&gt;A typical DataPortal_Select method may look like this:&lt;br&gt;&lt;br&gt;private void DataPortal_Select(SingleObjectCriteria x) {&lt;br&gt;&amp;nbsp; IMyDataRepository repository = RepositoryFactory.CreateMyDataRepository();&lt;br&gt;&amp;nbsp; MyData rawData = repository.SelectById(x.Id);&lt;br&gt;&lt;br&gt;&amp;nbsp; LoadObjectData(rawData); //Load the raw object data from the DTO&lt;br&gt;}&lt;br&gt;&lt;br&gt;What I would like to see in more codegen templates is something similar to this. The factory in this case may be a simple matter of just returning a new instance of the right repository by using the new operator. This will provide developers with an even better way to extend the possibilities of the generated code and more importantly you can provide mockups for the repository classes and test the business objects seperately. &lt;br&gt;&lt;br&gt;I would love to hear your thoughts on this and I hope that more people see the advantages of this pattern.&lt;br&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Extended functionality CSLA Templates</title><link>http://forums.lhotka.net/forums/thread/18701.aspx</link><pubDate>Fri, 26 Oct 2007 05:16:39 GMT</pubDate><guid isPermaLink="false">49a2225a-bd1e-4c5d-a665-720b81e87ca9:18701</guid><dc:creator>Dave Boal</dc:creator><slash:comments>0</slash:comments><comments>http://forums.lhotka.net/forums/thread/18701.aspx</comments><wfw:commentRss>http://forums.lhotka.net/forums/commentrss.aspx?SectionID=9&amp;PostID=18701</wfw:commentRss><description>&lt;P class=MsoNormal&gt;&lt;STRONG&gt;&lt;SPAN&gt;&lt;A href="http://community.codesmithtools.com/forums/p/7531/28325.aspx#28325"&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt;CodeQwik.Net is a new CSLA/CodeSmith training and template company. When you go to the home page, (&lt;A href="http://www.codeqwik.net/"&gt;&lt;FONT color=#800080&gt;www.codeqwik.net&lt;/FONT&gt;&lt;/A&gt;),&amp;nbsp;you will find a link &lt;SPAN&gt;to "Customized CodeSmith Templates" which contain extended functionality CSLA templates, and &lt;/SPAN&gt;a link to "Software Development Training Courses" which contain several courses, one specifically for CSLA.Net training.&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Rocky, just wanted to let you know that CodeQwik.Net has a crosslink to lhotka.net on the home page, and this last Monday October 22nd,&amp;nbsp;delivered a CSLA presentation to the Denver Visual Studio Users group &lt;A href="http://www.denvervisualstudio.net/"&gt;&lt;FONT color=#800080&gt;http://www.denvervisualstudio.net/&lt;/FONT&gt;&lt;/A&gt;&amp;nbsp;(about 150 in attendance).&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Anybody using Kathleen Dollard's Code Generation </title><link>http://forums.lhotka.net/forums/thread/16873.aspx</link><pubDate>Tue, 14 Aug 2007 18:13:38 GMT</pubDate><guid isPermaLink="false">49a2225a-bd1e-4c5d-a665-720b81e87ca9:16873</guid><dc:creator>MisterB</dc:creator><slash:comments>8</slash:comments><comments>http://forums.lhotka.net/forums/thread/16873.aspx</comments><wfw:commentRss>http://forums.lhotka.net/forums/commentrss.aspx?SectionID=9&amp;PostID=16873</wfw:commentRss><description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;has anyone taken Kathleen Dollard's code that accompanied her book "Code Generation in Microsoft .Net" and used it as a basis for a live project?&lt;/P&gt;
&lt;P&gt;B&lt;/P&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Call for CSLA Template Developers</title><link>http://forums.lhotka.net/forums/thread/17724.aspx</link><pubDate>Thu, 20 Sep 2007 15:57:31 GMT</pubDate><guid isPermaLink="false">49a2225a-bd1e-4c5d-a665-720b81e87ca9:17724</guid><dc:creator>justncase80</dc:creator><slash:comments>0</slash:comments><comments>http://forums.lhotka.net/forums/thread/17724.aspx</comments><wfw:commentRss>http://forums.lhotka.net/forums/commentrss.aspx?SectionID=9&amp;PostID=17724</wfw:commentRss><description>&lt;P&gt;Hello!&lt;/P&gt;
&lt;P&gt;I have been working on an open source&amp;nbsp;code generator called &lt;A href="http://www.codeplex.com/nbusiness"&gt;NBusiness&lt;/A&gt; for some time now and I am interested in providing some CSLA templates with the generator. The project is&amp;nbsp;essentially just a template driven code generator for business objects, though it has a slight different way of accomplishing this goal than most other code generators out there. Currently NBusiness comes with a light-weight business object framework to get things going (and it's medium trust) but it isn't nearly as robust and feature packed as CSLA. It would be great to provide templates for both.&lt;/P&gt;
&lt;P&gt;Basically what I'm hoping&amp;nbsp;for is someone here to create some CSLA templates for this project! It could be a good opportunity to do some work on an open source application which is rewarding in multiple ways. Also there's a variety of interesting technologies you will need to become familar with to get going, such as:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Visual Studio Integration Packages&lt;/LI&gt;
&lt;LI&gt;CodeDom&lt;/LI&gt;
&lt;LI&gt;MSBuild&lt;/LI&gt;
&lt;LI&gt;Team Foundation Server&lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;It would also be a good opportunity to delve deeper into CSLA for anyone ready to take their knowledge to the next level. Basically, I am asking this of the community because working on the core components is enough to keep me more than busy and unless I get someone new to create these templates it probably will not happen.&lt;/P&gt;
&lt;P&gt;Also, for anyone experienced with code generators already you may find this project interesting. It has a somewhat different take on the process and brings some new features to the table. Check it out, drop some questions/comments in the forums.&lt;/P&gt;
&lt;P&gt;So if you're interested in working on some CSLA templates head on over to the project page and find my email address on the main wiki there.&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>CodeSmith Templates Adapted to Use the DAAB</title><link>http://forums.lhotka.net/forums/thread/16303.aspx</link><pubDate>Sat, 21 Jul 2007 04:48:18 GMT</pubDate><guid isPermaLink="false">49a2225a-bd1e-4c5d-a665-720b81e87ca9:16303</guid><dc:creator>devbanana</dc:creator><slash:comments>0</slash:comments><comments>http://forums.lhotka.net/forums/thread/16303.aspx</comments><wfw:commentRss>http://forums.lhotka.net/forums/commentrss.aspx?SectionID=9&amp;PostID=16303</wfw:commentRss><description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have modified the CodeSmith templates to generate code using the Enterprise Library data access application block instead of the being tied to using the SQL-specific types.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It's not perfect yet, but it has really helped me. Also I only modified the C# templates because I don't use VB.NET.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope no one minds me linking to my blog directly, but I discussed much more in depth about the changes made and also has the download link.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://www.brandonolivares.com/blog-entry/brandon/2007/07/19/new-and-improved-codesmith-templates-work-daab"&gt;http://www.brandonolivares.com/blog-entry/brandon/2007/07/19/new-and-improved-codesmith-templates-work-daab&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I plan to make further modifications, such as using the exception handling application block for better error handling, but I hope you find the existing templates of use.&lt;/P&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>CSLA.NET and CodeSmith Presentation</title><link>http://forums.lhotka.net/forums/thread/16218.aspx</link><pubDate>Thu, 19 Jul 2007 03:20:23 GMT</pubDate><guid isPermaLink="false">49a2225a-bd1e-4c5d-a665-720b81e87ca9:16218</guid><dc:creator>CodeSmartNotHard</dc:creator><slash:comments>0</slash:comments><comments>http://forums.lhotka.net/forums/thread/16218.aspx</comments><wfw:commentRss>http://forums.lhotka.net/forums/commentrss.aspx?SectionID=9&amp;PostID=16218</wfw:commentRss><description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Last year I did a presentation at my local .NET user group meeting on CSLA.NET and CodeSmith.&amp;nbsp; Here's my blog post about it and a demo project.&amp;nbsp; &lt;/P&gt;
&lt;P&gt;We have used this model for two huge projects resulting in very high quality code.&amp;nbsp; We are able to put all of our business logic in our business objects and test them with unit tests (the way it should be!).&amp;nbsp; &lt;/P&gt;
&lt;P&gt;&lt;A href="http://codesmartnothard.com/PermaLink,guid,19ca6b91-1d6a-4b9e-83a7-c120654e6bf5.aspx"&gt;http://codesmartnothard.com/PermaLink,guid,19ca6b91-1d6a-4b9e-83a7-c120654e6bf5.aspx&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;CSLA.NET Rocks!&lt;/P&gt;
&lt;P&gt;Mike&lt;/P&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>MyGeneration CSharp Templates</title><link>http://forums.lhotka.net/forums/thread/15411.aspx</link><pubDate>Wed, 13 Jun 2007 15:03:20 GMT</pubDate><guid isPermaLink="false">49a2225a-bd1e-4c5d-a665-720b81e87ca9:15411</guid><dc:creator>RichMark</dc:creator><slash:comments>1</slash:comments><comments>http://forums.lhotka.net/forums/thread/15411.aspx</comments><wfw:commentRss>http://forums.lhotka.net/forums/commentrss.aspx?SectionID=9&amp;PostID=15411</wfw:commentRss><description>&lt;P&gt;I've placed some MyGeneration&amp;nbsp;CSharp Templates on CSLAcontrib.&lt;/P&gt;
&lt;P&gt;They include support for:&lt;/P&gt;
&lt;P&gt;* ForeignKeys including Parent/Child relationships.&lt;/P&gt;
&lt;P&gt;* propertygrid.&lt;/P&gt;
&lt;P&gt;* Lazy Loading of related data&lt;/P&gt;
&lt;P&gt;* Other items.&lt;/P&gt;
&lt;P&gt;I've also included a sample application for the Northwind database.&amp;nbsp; This consists of a listbox to select an employee, and a propertygrid of all information related to the employee.&amp;nbsp; The data is editable in the propertygrid.&lt;/P&gt;
&lt;HR align=left&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Bug in VB Codesmith Template?</title><link>http://forums.lhotka.net/forums/thread/13962.aspx</link><pubDate>Wed, 18 Apr 2007 11:51:00 GMT</pubDate><guid isPermaLink="false">49a2225a-bd1e-4c5d-a665-720b81e87ca9:13962</guid><dc:creator>RockyRocks</dc:creator><slash:comments>0</slash:comments><comments>http://forums.lhotka.net/forums/thread/13962.aspx</comments><wfw:commentRss>http://forums.lhotka.net/forums/commentrss.aspx?SectionID=9&amp;PostID=13962</wfw:commentRss><description>&lt;P&gt;Thanks to all involved in creating the CodeSmith templates for the latest version of the framework. You are all life savers!&lt;/P&gt;
&lt;P&gt;I am just looking through the generated code for a test class using the VB template for EditableRoot and have noticed a slight peculiarity which might be a bug with the template. It is in an area that is new in 2.1 and relates to AddInstanceBusinessRules. I don't yet have the 2.1 e-book (I'm still trying to determine how to get the company to pay for it - no, it isn't easy!) so I can't check the detail there.&lt;/P&gt;
&lt;P&gt;In the generated sub, there is a call to MyBase.AddBusinessRules(). Should this instead be MyBase.AddInstanceBusinessRules()?&lt;/P&gt;
&lt;P&gt;I'd appreciate the input of anyone that has more experience of this newer area.&lt;/P&gt;
&lt;P&gt;Many Thanks.&lt;/P&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>TimeStamps and CodeSmith StoredProc templates for CSLA</title><link>http://forums.lhotka.net/forums/thread/13875.aspx</link><pubDate>Mon, 16 Apr 2007 03:50:01 GMT</pubDate><guid isPermaLink="false">49a2225a-bd1e-4c5d-a665-720b81e87ca9:13875</guid><dc:creator>Bonio</dc:creator><slash:comments>0</slash:comments><comments>http://forums.lhotka.net/forums/thread/13875.aspx</comments><wfw:commentRss>http://forums.lhotka.net/forums/commentrss.aspx?SectionID=9&amp;PostID=13875</wfw:commentRss><description>&lt;P&gt;I am wondering if this is a bug.&lt;/P&gt;
&lt;P&gt;When I generate storedprocs against my database, the Insert and Update procs are showing&lt;/P&gt;
&lt;P&gt;timestamp fields.&lt;/P&gt;
&lt;P&gt;Is Codesmith not correctly identifying timestamp fields in my tables?&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Bone&lt;/P&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>CSLA 2.1 and VB CodeSmith Templates on codeplex</title><link>http://forums.lhotka.net/forums/thread/12856.aspx</link><pubDate>Mon, 05 Mar 2007 17:39:55 GMT</pubDate><guid isPermaLink="false">49a2225a-bd1e-4c5d-a665-720b81e87ca9:12856</guid><dc:creator>mikeclimbs</dc:creator><slash:comments>0</slash:comments><comments>http://forums.lhotka.net/forums/thread/12856.aspx</comments><wfw:commentRss>http://forums.lhotka.net/forums/commentrss.aspx?SectionID=9&amp;PostID=12856</wfw:commentRss><description>&lt;P&gt;Are the VB templates on codeplex going to be updated&amp;nbsp;to match&amp;nbsp;the CSLA 2.1 book? &lt;/P&gt;
&lt;P&gt;Curious if can modiy the templates without worrying about porting my changes to the new versions.&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Mike&lt;/P&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Codesmith and editableRootList</title><link>http://forums.lhotka.net/forums/thread/12269.aspx</link><pubDate>Mon, 19 Feb 2007 16:27:07 GMT</pubDate><guid isPermaLink="false">49a2225a-bd1e-4c5d-a665-720b81e87ca9:12269</guid><dc:creator>rfphill</dc:creator><slash:comments>0</slash:comments><comments>http://forums.lhotka.net/forums/thread/12269.aspx</comments><wfw:commentRss>http://forums.lhotka.net/forums/commentrss.aspx?SectionID=9&amp;PostID=12269</wfw:commentRss><description>&lt;P&gt;It seems like a glaring oversight, but why is editablerootlist calling a deleteself, insert, and update on an editableroot object, when these methods don't exist on the root object?&lt;/P&gt;
&lt;P&gt;This seems so bloody obvious that I'm certain I must be doing something wrong...&amp;nbsp;&lt;/P&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>