Hi,
it is a one-to-many. Ok, an example is listed below:
A CodeTableConfig contains many CodeTables.
Class : CodeTableConfig
Member : KeyedList <CodeTable> mTables;
(Contains a listing of the different types of codetables that a codetable
config can hold reference by the codetable name )
Class : CodeTable
Member : string name
Datatable ValueCode (contains a datatable of values related to
the name member)
Below is the sample header of our custom collection Keyedlist
public class KeyedList<T> : KeyedCollection<string, T>
Therefore any way to resolve this knowing that keyedcollection also derives
from collection which List too.
Regards,
Ken Hu
Date: Fri, 20 May 2011 00:29:43 -0300
Subject: Re: [nhusers] nHibernate KeyedList Collectio
From: [email protected]
To: [email protected]
Is a one-to-many or many-to-many?Please give us some meaningful example.
Thank you
2011/5/20 KEN AW <[email protected]>
Hi,
Currently we are having custom collections base on keyedcollections which is an
hybrid of dictionary and list. So not sure by what you meant by how are we
going to store the data? If were to extend the proxy collection. what do u mean
by that? Sorry very new to this.
Regards,
Ken Hu
> Date: Thu, 19 May 2011 08:10:55 -0300
> Subject: Re: [nhusers] nHibernate KeyedList Collectio
> From: [email protected]
> To: [email protected]
>
> I think it is not supported. But you can extend nh by implementing
> your own version of the proxy collection.
> How do you plan to store the data? As nhibernate stores a dictionary
> or as a common list?
>
> 2011/5/19, Ken Hu <[email protected]>:
> > Hi All,
> >
> > Currently my project is intending to use nHibernate as our DAO. But we
> > have custom collections that is implementing KeyedCollections from C#.
> > Is it possible and if so how to go about doing it? Thanks.
> >
> > --
> > You received this message because you are subscribed to the Google Groups
> > "nhusers" 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/nhusers?hl=en.
> >
> >
>
> --
> Enviado desde mi dispositivo móvil
>
> --
> You received this message because you are subscribed to the Google Groups
> "nhusers" 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/nhusers?hl=en.
>
--
You received this message because you are subscribed to the Google Groups
"nhusers" 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/nhusers?hl=en.
--
You received this message because you are subscribed to the Google Groups
"nhusers" 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/nhusers?hl=en.
--
You received this message because you are subscribed to the Google Groups
"nhusers" 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/nhusers?hl=en.