cmprogrock wrote:
Whats the best way to return a Scalar Value from LLBLGen / LINQ?
(In this case - it is not a stored procedure.)
Basicly I want to grab an object [new PageEntity(28 )] and return a single property [p.PublicGUID] as a vvarchar (string).
Is there a better way than newing the whole object & grabing the the prop?
Thanks
var v = from p in metaData.Page select p.PublicGuid.ToString();
It also helps if you post what you've already tried.