LINQ in Action roller

LINQ to SQL > Stored Procedures > IQueryable return type?

I'm using Visual Studio 2008 RTM. Problem: When i'm drag'n'drop a stored procedure into the dbml designer, it generates a method with a generic ISingleResult type: [Function(Name="dbo.SearchForSomething")] public ISingleResult SearchForSomething([Parameter(DbType="NVarChar(MAX)")] string search) { IExecuteResult result = this.ExecuteMethodCall(this, ((MethodInfo)(MethodInfo.GetCurrentMethod())), search); return ((ISingleResult)(result.ReturnValue)); } I want to use this stored procedure in advanced Read More...
Published Tuesday, December 25, 2007 5:28 PM by MSDN Forums: LINQ Project General
Anonymous comments are disabled

Featured Item

This Blog

Sponsoring

Syndication