c#


how to use IN clause in Nhibernate QueryOver


i just want to know on how to query a select statement with an array or ids.
i have this method using Nhibernate QueryOver
public IList<CostingSheetDetail> GetListOfCostingSheetDetails(List<int> ids)
{
return _session.QueryOver<CostingSheetDetail>().Select(Q => Q.CostingSheetMaster.Id).Where(Q => Q.Id.IsIn(ids.ToArray())).List();
}
i get an error stating the following:
Unable to perform find[SQL: SQL not available]
any help will be really appreciated.

Related Links

How does shell extension pass multiple selected files to my own program?
Passing Parameter from MDIParent to MDIChild Form
Crystal Reports Runtime 64-bit doesn't work in 64-bit operating system
phpseclib rsa decryption return false
Namespace within a project or separate project
change scrollbar inside scrollviewer
C# WPF - The longer I press on a button the faster will be counted
Different version of Intersect() in LINQ
Need to extract Dictionary from an Object of Type ArrayList [duplicate]
how to print multiple newly page for multiple different invoice number in c#.net using sap crystal report
ReportViewer multiple result of listbox
DataReader.GetFieldType(30) returned null
UWP ProgressBar and Binding
What happens to a thread when it 'awaits' something
Get position from player forward at constant distance
Prevent user from adding same values to the database

Categories

HOME
gcc
swift3
redux
network-programming
open-search-server
android-webview
hql
popup
responsive
tag-cloud
amazon-data-pipeline
gpo
jq
dev-c++
beaker-notebook
procedural-generation
emr
javapns
foxpro
qt-designer
android-scrollview
incapsula
sampling
lighting
kepserverex
area
stdin
latency
mediastream
wicket-tester
android-graphview
glide-image-library
result
servicebus
appcmd
jenkins-docker
htop
webmatrix
dynatable
timex
scrollmagic
cardview
joystick
boost-range
networkstream
foreground
netlink
magick.net
weblogic-maven-plugin
kik
sbt-proguard
jde
phpdesigner
jmap
cexception
wiql
tvp
event-tracking
webservices-client
exchange-server-2007
waterline
service-broker
data-quality-services
attiny
system.net
livescript
azure-worker-roles
disabled-control
visual-studio-setup-proje
satisfiability
db2-connect
nop
adabas
thucydides
ardor3d
xcode5.1
ia-32
azure-pack
azure-scheduler
proj4
coinbase-php
rbm
cryptarithmetic-puzzle
databus
beep
project-files
wdm
xhtmlrenderer
nbehave
viewdata
qprocess
lts
ffdshow
onresize

Resources

Encrypt Message