LINQ Pitfalls: Using external variables in projections(notherdev.blogspot.com)

submitted by notherdevnotherdev(238) 6 months, 11 days ago

One issue with NHibernate.Linq provider that surprised me a lot is about variables (or constants) that appear in Select expressions. It seems that you can use it, but once only! Otherwise you'll experience pretty nasty silent fail.

2 comments |category: |Views: 9

tags: another

new Add a live kick counter to your blog >> liveImage

You can even customize the image by choosing your own colors, and then clicking the button below to update the preview and the html code:

  • "Kick It" text
  • "Kick It" background
  • kick count text
  • kick count background
  • border

Simply copy and paste this HTML into your blog post.


Users who kicked this story:
Comments:

posted by dpetersondpeterson(4397) 6 months, 11 days ago 0

This seems to be specific to NHibernate.LINQ, not LINQ.

Reply

posted by notherdevnotherdev(238) 6 months, 10 days ago 0

Reply

information Login or create an account to comment on this story