When map to a view, I map it like a table with a couple of exception. I mark the mapping as read only and I create the id as a combination of all the columns if you need a unique row. On Jun 3, 2013 8:43 AM, "Maciej Gaweł" <[email protected]> wrote:
> Hi > I've got following issue, generally in my application when I want to add a > table I create a class, a mapping class and I'm done. > But in this case I need to connect to an existing view that I created in > database (SQL Server 2008 ) and got no idea at all, I'm newbie in NH. > > You're help would be higly appreciated, thanks in advance :) > > Maciek > > -- > You received this message because you are subscribed to the Google Groups > "nhusers" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/nhusers?hl=en-US. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- You received this message because you are subscribed to the Google Groups "nhusers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/nhusers?hl=en-US. For more options, visit https://groups.google.com/groups/opt_out.
