TableName == EntityType.Name, it was just a pass-through property. It's
gone.
You should really do that kind of setting in a convention, where you do have
access to TableName.

On Thu, Aug 20, 2009 at 5:18 AM, Brendan Erwin <[email protected]>wrote:

>
> I feel like there has been some discussion about this already, but I
> can't find it.
>
> Before the RC I had this:
>
> WithTable(EntityType.Name.Replace("Relationship",String.Empty));
>             Id(x => x.Id, TableName +
> "Id
> ").GeneratedBy.Guid().Access.AsReadOnlyPropertyThroughCamelCaseField();
>
> Now I have to do this:
>
>            string tableName =
> EntityType.Name.Replace("Relationship",String.Empty);  //My own variable
>
>             Table(tableName);
>
>             Id(x => x.Id, tableName + "Id")
>                 .GeneratedBy.Guid()
>                 .Access.ReadOnlyPropertyThroughCamelCaseField();
>
>
> Is this right? Was something wrong with the old TableName property?
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Fluent NHibernate" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/fluent-nhibernate?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to