Click here to Skip to main content
15,896,153 members
Articles / Programming Languages / XML

QueryMap: Custom Translation of LINQ Expressions

Rate me:
Please Sign up or sign in to vote.
5.00/5 (4 votes)
22 Apr 2012Ms-PL9 min read 36.4K   441   7  
QueryMap allows you to pre-translate a LINQ expression into a form that the underlying query provider (such as LINQ to SQL) can understand.

Microsoft Visual Studio Solution File, Format Version 11.00
# Visual Studio 10
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{6E919BDE-B783-407A-8263-ED92E7846150}"
	ProjectSection(SolutionItems) = preProject
		AssemblyInfo.Product.cs = AssemblyInfo.Product.cs
		AssemblyInfo.Version.cs = AssemblyInfo.Version.cs
		QueryMap.html = QueryMap.html
	EndProjectSection
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "QueryMap", "QueryMap\QueryMap.csproj", "{E37DEE60-FF11-4B0E-982B-87F0913E96C5}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "QueryMap.Tests", "Tests\QueryMap.Tests.csproj", "{DC58E978-6FA0-4E85-B6EC-3A32A0FC0397}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "QueryMap.Sample", "Sample\QueryMap.Sample.csproj", "{FBF0D8A5-21B3-4841-ACD5-987615B2249F}"
EndProject
Global
	GlobalSection(SolutionConfigurationPlatforms) = preSolution
		Debug|Any CPU = Debug|Any CPU
		Release|Any CPU = Release|Any CPU
	EndGlobalSection
	GlobalSection(ProjectConfigurationPlatforms) = postSolution
		{DC58E978-6FA0-4E85-B6EC-3A32A0FC0397}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
		{DC58E978-6FA0-4E85-B6EC-3A32A0FC0397}.Debug|Any CPU.Build.0 = Debug|Any CPU
		{DC58E978-6FA0-4E85-B6EC-3A32A0FC0397}.Release|Any CPU.ActiveCfg = Release|Any CPU
		{DC58E978-6FA0-4E85-B6EC-3A32A0FC0397}.Release|Any CPU.Build.0 = Release|Any CPU
		{E37DEE60-FF11-4B0E-982B-87F0913E96C5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
		{E37DEE60-FF11-4B0E-982B-87F0913E96C5}.Debug|Any CPU.Build.0 = Debug|Any CPU
		{E37DEE60-FF11-4B0E-982B-87F0913E96C5}.Release|Any CPU.ActiveCfg = Release|Any CPU
		{E37DEE60-FF11-4B0E-982B-87F0913E96C5}.Release|Any CPU.Build.0 = Release|Any CPU
		{FBF0D8A5-21B3-4841-ACD5-987615B2249F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
		{FBF0D8A5-21B3-4841-ACD5-987615B2249F}.Debug|Any CPU.Build.0 = Debug|Any CPU
		{FBF0D8A5-21B3-4841-ACD5-987615B2249F}.Release|Any CPU.ActiveCfg = Release|Any CPU
		{FBF0D8A5-21B3-4841-ACD5-987615B2249F}.Release|Any CPU.Build.0 = Release|Any CPU
	EndGlobalSection
	GlobalSection(SolutionProperties) = preSolution
		HideSolutionNode = FALSE
	EndGlobalSection
EndGlobal

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Microsoft Public License (Ms-PL)


Written By
Software Developer (Senior)
United States United States
David Nelson has been programming in various languages for 17 years, and has been programming in .NET (C# and VB.NET) since 2003.
He is a MCTS in .NET 2.0 Web Applications, and is a moderator on the MSDN Forums (http://forums.microsoft.com/msdn).

Comments and Discussions