I've struggled a lot lately with discriminators and Daniel's advice is
the best.
Do not use the discriminator mapped as a property. You can even break
DRY but i'll save you a whole lot of problem with the mapping.
On May 1, 11:02 am, Daniel Mirapalheta mirapalh...@gmail.com wrote:
To be
It is already too late for 1.0 RTM. Anyway, the version number is
0.1.0.539.
On Aug 26, 5:30 am, James Gregory jagregory@gmail.com wrote:
I need more info otherwise I won't be able to fix this for 1.0 RTM.
On Tue, Aug 25, 2009 at 12:30 AM, James Gregory
jagregory@gmail.comwrote:
No, I used a mapping file instead to work around the error for now.
On Aug 24, 1:36 am, Joseph Bareto josephbareto...@googlemail.com
wrote:
So finally cud u achive inheritance with this technique in sharp ?
On Aug 14, 2:46 pm, Roger rcjproj...@yahoo.com wrote:
After updating my copy of
I need more info otherwise I won't be able to fix this for 1.0 RTM.
On Tue, Aug 25, 2009 at 12:30 AM, James Gregory jagregory@gmail.comwrote:
Can you verify what the version number is of FNH you're using?
The many-to-one looks wrong because in 1.0 we don't even generate a column
Can you verify what the version number is of FNH you're using?
The many-to-one looks wrong because in 1.0 we don't even generate a column
attribute, we always create a column element.
On Fri, Aug 14, 2009 at 2:46 PM, Roger rcjproj...@yahoo.com wrote:
After updating my copy of FNH and other
So finally cud u achive inheritance with this technique in sharp ?
On Aug 14, 2:46 pm, Roger rcjproj...@yahoo.com wrote:
After updating my copy of FNH and other dlls, I am still getting the
same error. i.e.
--- NHibernate.MappingException: Could not compile the
mapping
document:
After updating my copy of FNH and other dlls, I am still getting the
same error. i.e.
--- NHibernate.MappingException: Could not compile the
mapping
document: (XmlDocument) --- System.IndexOutOfRangeException: Index
was outside the bounds of the array.
at
I will give it a try. Do I need to go through these steps in order to
update FNH in Sharp Architecture?
http://groups.google.com/group/sharp-architecture/browse_thread/thread/f37a99ecfa681770#
I have a question on mapping. Employee, a subclass of User, has a many-
to-one relationship with Role.
The wiki should really contain something about this, but it doesn't yet. I
wrote a blog post about it a while ago though, so you should be able to get
started from there:
http://blog.jagregory.com/2009/01/05/fluent-nhibernate-subclass-syntax-changes/
On Tue, Mar 3, 2009 at 10:43 PM, mhnyborg
Thanks that was fast, and it works.
The examples would be a lot clearer if you show how to specify the
discriminator values.
On Mar 3, 11:59 pm, James Gregory jagregory@gmail.com wrote:
The wiki should really contain something about this, but it doesn't yet. I
wrote a blog post about it a
10 matches
Mail list logo