c# - Linq from TABLE select * -



c# - Linq from TABLE select * -

i need select of fields table seek using next code , error notification class name not valid @ point

from item in context.createquery<permitdocumentfields>() item.id == new guid(request["view"]) select new { permitdocumentfields }

how create stuff work from table select *?

from item in context.createquery<permitdocumentfields>() item.id == new guid(request["view"]) select item

check post more detail : sql linq ( visual representation )

simple select

select filter , select new

note : select new require when want build new object only.

c# .net asp.net linq linq-to-sql

Comments

Popular posts from this blog

iphone - Dismissing a UIAlertView -

c# - Can ProtoBuf-Net deserialize to a flat class? -

javascript - Change element in each JQuery tab to dynamically generated colors -