Red Gate forums :: View topic - Error decompile LINQ syntax...
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
.NET Reflector 7.0 Feedback
.NET Reflector 7.0 Feedback forum

Error decompile LINQ syntax...

Search in .NET Reflector 7.0 Feedback forum
Post new topic   Reply to topic
Jump to:  
Author Message
lopin123



Joined: 07 Nov 2010
Posts: 5

PostPosted: Wed Sep 07, 2011 11:16 am    Post subject: Error decompile LINQ syntax... Reply with quote

I used version 7.1.0.143 ...but why this code cannot resolve by refelector..Pls help me...


Code:
private FileStorageFolder GetCapsuleContentFolder(FileStorageDataContext db)
{
    IQueryable<FileStorageFolder> source = from dbFolder in db.FileStorageFolders
        where (dbFolder.ParentID == null) && (dbFolder.Purpose == reportFolderPurpose)
        select dbFolder into dbFolder
        join dbSubFolder in db.FileStorageFolders on dbFolder.ID equals dbSubFolder.ParentID into dbSubFolder
        where (dbSubFolder.Purpose == capsulelayoutFolderPurpose) && (dbSubFolder.FolderName == capsuleReportContent)
        select dbSubFolder;
    Instrument.Assert(source.Count<FileStorageFolder>() == 1);
    return source.Single<FileStorageFolder>();
}

 


error on second "where" syntax...("Ambigous Invocation")
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic All times are GMT + 1 Hour
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group