Hi,

I've searched a bit but haven't turned up anything, so here goes: are
there any disallowed/restricted property names on the mapped entities?
For example, I have a class that has a property named "End" of type
"DateTime" and another one named "Start".

The unit test exporting the schema ( new
SchemaExport(NHibernateSessionProvider.Configuration).Execute(false,
true, false);) barfs with

"System.Data.SqlClient.SqlException: Incorrect syntax near the keyword
'End'. Incorrect syntax near 'DATETIME'."

However, if I rename my property to "EndDate" everything works fine.
Also, the "Start" property name seems fine.

Is this a nHibernate issue or a fluentNH issue?

Thanks

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

Reply via email to