<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments for Marcin Obel &#187; Marcin Obel</title>
	<atom:link href="http://marcinobel.com/index.php/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://marcinobel.com</link>
	<description>.NET, ASP.NET MVC, jQuery, Ruby, Ruby on Rails, Test Driven Development, Agile</description>
	<lastBuildDate>Sat, 11 Jun 2011 14:55:41 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
	<item>
		<title>Comment on Rake in .NET projects – installation and setup by c.barca</title>
		<link>http://marcinobel.com/index.php/rake-net-projects-installation-setup/comment-page-1/#comment-3123</link>
		<dc:creator>c.barca</dc:creator>
		<pubDate>Sat, 11 Jun 2011 14:55:41 +0000</pubDate>
		<guid isPermaLink="false">http://marcinobel.com/?p=169#comment-3123</guid>
		<description>thank you, it work fine.</description>
		<content:encoded><![CDATA[<p>thank you, it work fine.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Fluent NHibernate conventions &#8211; examples by Braian87b</title>
		<link>http://marcinobel.com/index.php/fluent-nhibernate-conventions-examples/comment-page-1/#comment-3066</link>
		<dc:creator>Braian87b</dc:creator>
		<pubDate>Sat, 28 May 2011 18:39:03 +0000</pubDate>
		<guid isPermaLink="false">http://marcinobel.com/?p=195#comment-3066</guid>
		<description>You can replace:
instance.Key.ForeignKey(&quot;{0}_{1}_FK&quot;.AsFormat(
        instance.Member.Name, instance.EntityType.Name));

By:

instance.Key.ForeignKey(string.Format(&quot;FK_{0}_{1}&quot;, instance.Member.Name, instance.EntityType.Name));

And it should work just fine!</description>
		<content:encoded><![CDATA[<p>You can replace:<br />
instance.Key.ForeignKey(&#8220;{0}_{1}_FK&#8221;.AsFormat(<br />
        instance.Member.Name, instance.EntityType.Name));</p>
<p>By:</p>
<p>instance.Key.ForeignKey(string.Format(&#8220;FK_{0}_{1}&#8221;, instance.Member.Name, instance.EntityType.Name));</p>
<p>And it should work just fine!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Fluent NHibernate conventions &#8211; examples by Jeff</title>
		<link>http://marcinobel.com/index.php/fluent-nhibernate-conventions-examples/comment-page-1/#comment-3060</link>
		<dc:creator>Jeff</dc:creator>
		<pubDate>Wed, 25 May 2011 22:32:41 +0000</pubDate>
		<guid isPermaLink="false">http://marcinobel.com/?p=195#comment-3060</guid>
		<description>I&#039;m just getting started with conventions and was wondering if these are still valid I know the post is a bit old and the fluent api has changed a bit.

thanks for posting these</description>
		<content:encoded><![CDATA[<p>I&#8217;m just getting started with conventions and was wondering if these are still valid I know the post is a bit old and the fluent api has changed a bit.</p>
<p>thanks for posting these</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Fluent NHibernate conventions &#8211; examples by Banzai</title>
		<link>http://marcinobel.com/index.php/fluent-nhibernate-conventions-examples/comment-page-1/#comment-3059</link>
		<dc:creator>Banzai</dc:creator>
		<pubDate>Wed, 25 May 2011 19:25:34 +0000</pubDate>
		<guid isPermaLink="false">http://marcinobel.com/?p=195#comment-3059</guid>
		<description>I would like to add another question, how I could do to incorporate constrains the primary keys?
thanks</description>
		<content:encoded><![CDATA[<p>I would like to add another question, how I could do to incorporate constrains the primary keys?<br />
thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Fluent NHibernate conventions &#8211; examples by Banzai</title>
		<link>http://marcinobel.com/index.php/fluent-nhibernate-conventions-examples/comment-page-1/#comment-3054</link>
		<dc:creator>Banzai</dc:creator>
		<pubDate>Tue, 24 May 2011 20:29:08 +0000</pubDate>
		<guid isPermaLink="false">http://marcinobel.com/?p=195#comment-3054</guid>
		<description>very good spot, but I have a question, how to do to use a convention scheduled, as you would call you one of those conventions that you created?
thanks a lot</description>
		<content:encoded><![CDATA[<p>very good spot, but I have a question, how to do to use a convention scheduled, as you would call you one of those conventions that you created?<br />
thanks a lot</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Fluent NHibernate conventions &#8211; examples by stuartd</title>
		<link>http://marcinobel.com/index.php/fluent-nhibernate-conventions-examples/comment-page-1/#comment-2996</link>
		<dc:creator>stuartd</dc:creator>
		<pubDate>Wed, 04 May 2011 11:12:47 +0000</pubDate>
		<guid isPermaLink="false">http://marcinobel.com/?p=195#comment-2996</guid>
		<description>Thanks for these. BTW, in ForeignKeyConstraintNameConvention you have left in your AsFormat extension method without explanation..</description>
		<content:encoded><![CDATA[<p>Thanks for these. BTW, in ForeignKeyConstraintNameConvention you have left in your AsFormat extension method without explanation..</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Fluent NHibernate conventions &#8211; examples by Polemus</title>
		<link>http://marcinobel.com/index.php/fluent-nhibernate-conventions-examples/comment-page-1/#comment-2213</link>
		<dc:creator>Polemus</dc:creator>
		<pubDate>Wed, 19 Jan 2011 12:19:18 +0000</pubDate>
		<guid isPermaLink="false">http://marcinobel.com/?p=195#comment-2213</guid>
		<description>thanx m8, this helped me understand conventions a little bit better.</description>
		<content:encoded><![CDATA[<p>thanx m8, this helped me understand conventions a little bit better.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Fluent NHibernate conventions &#8211; examples by Thien</title>
		<link>http://marcinobel.com/index.php/fluent-nhibernate-conventions-examples/comment-page-1/#comment-794</link>
		<dc:creator>Thien</dc:creator>
		<pubDate>Fri, 15 Oct 2010 02:29:38 +0000</pubDate>
		<guid isPermaLink="false">http://marcinobel.com/?p=195#comment-794</guid>
		<description>Sorry for my mistake, ---It generate two foreign keys: “AttributeTemplateId” and “ProductAttributeTemplateId”---- And I want only one “AttributeTemplateId”.

Again,  thank you</description>
		<content:encoded><![CDATA[<p>Sorry for my mistake, &#8212;It generate two foreign keys: “AttributeTemplateId” and “ProductAttributeTemplateId”&#8212;- And I want only one “AttributeTemplateId”.</p>
<p>Again,  thank you</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Fluent NHibernate conventions &#8211; examples by Marcin Obel</title>
		<link>http://marcinobel.com/index.php/fluent-nhibernate-conventions-examples/comment-page-1/#comment-773</link>
		<dc:creator>Marcin Obel</dc:creator>
		<pubDate>Thu, 14 Oct 2010 10:56:40 +0000</pubDate>
		<guid isPermaLink="false">http://marcinobel.com/?p=195#comment-773</guid>
		<description>Hi Thien,

Thanks for reading my posts :) 
To be honest, I am not sure what exactly you would like to achieve with this conventions. What foreign key names do you want to have?

Best regards,
Marcin</description>
		<content:encoded><![CDATA[<p>Hi Thien,</p>
<p>Thanks for reading my posts <img src='http://marcinobel.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
To be honest, I am not sure what exactly you would like to achieve with this conventions. What foreign key names do you want to have?</p>
<p>Best regards,<br />
Marcin</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Fluent NHibernate conventions &#8211; examples by Thien</title>
		<link>http://marcinobel.com/index.php/fluent-nhibernate-conventions-examples/comment-page-1/#comment-772</link>
		<dc:creator>Thien</dc:creator>
		<pubDate>Thu, 14 Oct 2010 10:08:11 +0000</pubDate>
		<guid isPermaLink="false">http://marcinobel.com/?p=195#comment-772</guid>
		<description>Thank you for your great post. But I have the problem with ForeignKeyNameConvention and ReferenceConvention.
My models
public class ProductAttribute : Entity
    {
        public ProductAttribute()
        {
            AttributeValues = new List();
        }

        public virtual string Name { get; set; }
        public virtual ProductAttributeDataType DataType { get; set; }
        public virtual IList AttributeValues { get; protected set; }
        public virtual ProductAttributeTemplate AttributeTemplate { get; set; }
    }

    public class ProductAttributeTemplate : Entity
    {
        public ProductAttributeTemplate()
        {

        }

        public virtual string Name { get; set; }
        public virtual IList Attributes { get; protected set; }
    }

It generate to foreign key: &quot;AttributeTemplateId&quot; and &quot;ProductAttributeTemplateId&quot;

Could you please help me. Thank you very much</description>
		<content:encoded><![CDATA[<p>Thank you for your great post. But I have the problem with ForeignKeyNameConvention and ReferenceConvention.<br />
My models<br />
public class ProductAttribute : Entity<br />
    {<br />
        public ProductAttribute()<br />
        {<br />
            AttributeValues = new List();<br />
        }</p>
<p>        public virtual string Name { get; set; }<br />
        public virtual ProductAttributeDataType DataType { get; set; }<br />
        public virtual IList AttributeValues { get; protected set; }<br />
        public virtual ProductAttributeTemplate AttributeTemplate { get; set; }<br />
    }</p>
<p>    public class ProductAttributeTemplate : Entity<br />
    {<br />
        public ProductAttributeTemplate()<br />
        {</p>
<p>        }</p>
<p>        public virtual string Name { get; set; }<br />
        public virtual IList Attributes { get; protected set; }<br />
    }</p>
<p>It generate to foreign key: &#8220;AttributeTemplateId&#8221; and &#8220;ProductAttributeTemplateId&#8221;</p>
<p>Could you please help me. Thank you very much</p>
]]></content:encoded>
	</item>
</channel>
</rss>

