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
-~----------~----~----~----~------~----~------~--~---