have a look at

http://www.codeinsanity.com/2009/05/fluent-nhibernate-mappings-property.html

On Wed, Feb 24, 2010 at 4:07 AM, diwoma <fo...@softconsult.at> wrote:
> Sorry for my start, till now I'm working with MSSQL-T-SQL for
> communication with a database.
>
> Now I want to have a look to other possibilities and Fluent NHibernate
> is one of these.
> But I stuck in my first try and don't understand how I can do it.
>
> Tow Tables for Music-CD:
> Table 1:
> CD_GUID
> CD_Title
> CD_Player
> .....
>
> Table 2:
> TR_GUID
> TR_Link_CD (as link to CD..)
> TR_Title
> TR_Player
> TR_Duration (double in minutes)
> .....
>
> My First list should be:
>
> CD_Title, CD_Player, 'Count of Tracks', 'Duration of CD'
>
> In T-SQL, the last two columns will build with a inner-select (sum and
> count, grouped over TR_Link_CD FROM TR) join to CD.
>
> That statement is so easy to write in T-SQL, but I don't understand
> the workflow of nHibernate for this example.
> Is anybody there who want and can explain me how it works?
>
> If I can handle this problem, I will ask for other problems.
>
> Thank you,
> diwoma.
>
>
> --
> 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.
>
>

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