Answering some things: > Stefan : so you want to use LINQ 2 objects (the IEnumerable version), not > LINQ 2 NH?
Does it matter? That's why I want to use LINQ. >José: Why do you wan that? Who defines that string? I will try to explain. I have a Layout formatted as a table. This layout defines how we're gonna generate a text file that will be send to banks. The problem is that each bank has some particularities which we try to solve using layouts. The layout is configured by our support team, and sent to the client ready to be used. It is something like (Not the real think bur very similar) Var Name-------Size-----Value ClientName-----030-----String.Concat(Deposit.Client.FirstName, " ", Deposit.Client.LastName) Amount----------010-----Deposit.Value This kind of stuff is already working, but there is a point that I need more, like: SumOfDeposits----------05-----Transaction.Deposits.Sum(d => d.Value) But it seems that it is too complicated to solve this with LINQ and I can change to a less sophisticated simpler option like: SumOfDeposits----------05-----Sum(Transaction.Deposits, "Value") It may seem strange to you because you don't know the details. >Fabio Maulo: aaaaaaahhh if so I would understand "technology independent"... >what is LINQ ? To me LINQ is part of .NET and is not necessarily associated with a relational database. Wait. Why am I explaining? I think everybody here knows what LINQ is. : ) Thank you all -- 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.
