vb.net - Querying an Entity that has a varbinary field with LINQ -
when try query entity has varbinary field in getting error:
"the linq expression node type 'arrayindex' not supported in linq entities."
here query:
dim query = entity in db.entity entity.id= id select entity.varbinaryfield if query.firstordefault isnot nothing bytes = query.first.toarray return file(bytes, system.net.mime.mediatypenames.application.octet, "test") end if the error gets generated when check query isnot nothing.
any advice appreciated!
thank you!
i had few other parameters in linq query didn't include... parameters being pulled array throwing error not varbinary field...
Comments
Post a Comment