Click here to Skip to main content
12,501,845 members (50,689 online)
Click here to Skip to main content

Tagged as

Stats

27.2K views
218 downloads
30 bookmarked
Posted

Black Art – LINQ expressions reuse

, 9 Aug 2012 CDDL
When developing a complex line of business system queries, reuse is often required. This article provides some guidelines and tools for LINQ expressions reuse.
LinqExpressionsReuse.suo
LinqExpressionProjection
bin
Debug
LinqExpressionProjection.dll
LinqExpressionProjection.pdb
Release
LinqExpressionProjection.csproj.vspscc
obj
Debug
DesignTimeResolveAssemblyReferencesInput.cache
LinqExpressionProjection.dll
LinqExpressionProjection.pdb
TempPE
Properties
LinqExpressionProjection.Test
bin
Debug
Dependencies
EntityFramework.dll
EntityFramework.dll
LinqExpressionProjection.dll
LinqExpressionProjection.pdb
LinqExpressionProjection.Test.dll
LinqExpressionProjection.Test.pdb
Release
Dependencies
EntityFramework.dll
LinqExpressionProjection.Test.csproj.vspscc
Model
obj
Debug
DesignTimeResolveAssemblyReferencesInput.cache
LinqExpressionProjection.Test.dll
LinqExpressionProjection.Test.pdb
ResolveAssemblyReference.cache
TempPE
Properties
LinqExpressionsReuse
bin
Debug
EF_ReuseLinq.exe
EF_ReuseLinq.pdb
EF_ReuseLinq.vshost.exe
EF_ReuseLinq.vshost.exe.manifest
EntityFramework.dll
LinqExpressionProjection.dll
LinqExpressionProjection.pdb
Dependencies
EntityFramework.dll
EF_ReuseLinq.csproj.user
Model
obj
x86
Debug
DesignTimeResolveAssemblyReferencesInput.cache
EF_ReuseLinq.exe
EF_ReuseLinq.pdb
ResolveAssemblyReference.cache
TempPE
Properties
TestResults
Asher_PC1600 2012-06-12 16_37_14.trx
Asher_PC1600 2012-06-12 16_37_14
Out
EntityFramework.dll
LinqExpressionProjection.dll
LinqExpressionProjection.pdb
linqexpressionprojection.test.dll
LinqExpressionProjection.Test.pdb
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace EF_ReuseLinq.Model
{
    public class Project
    {
        public int ID { get; set; }
        public virtual ICollection<Subproject> Subprojects { get; set; }
    }
}

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 Common Development and Distribution License (CDDL)

Share

About the Author

Asher Barak
Chief Technology Officer Ziv systems, Israel
Israel Israel
Starting with Apple IIe BASICA, and working my way through Pascal, Power Builder, Visual basic (and the light office VBA) C, C++, I am now a full stack developer and development manager. Mostly with MS technologies on the server side and javascript(typescript) frameworks on the client side.

You may also be interested in...

Pro
Pro
| Advertise | Privacy | Terms of Use | Mobile
Web01 | 2.8.160919.1 | Last Updated 9 Aug 2012
Article Copyright 2012 by Asher Barak
Everything else Copyright © CodeProject, 1999-2016
Layout: fixed | fluid