Click here to Skip to main content
15,886,799 members
Articles / Web Development / ASP.NET

Enterprise Application Architecture with LINQ to SQL

Rate me:
Please Sign up or sign in to vote.
4.73/5 (44 votes)
17 Oct 200722 min read 294.1K   4.1K   277  
A discussion about architectural patterns for using LINQ to SQL in enterprise applications, along with performance implications
using System;
using System.Linq;
using System.Collections.Generic;
using System.Text;
using Northwind.Presentation;
using Northwind.Data.DTO;

namespace Northwind.Presentation.ViewInterfaces
{
    /// <summary>
    /// Defines a READ contract for customers
    /// </summary>
    public interface IViewCustomerListing : IView<ListCustomersPresenter, Customer>
    {
        bool IsPagingEnabled { get; } 
        int PageSize { get; set; }
        int CurrentPageIndex { get; set; }
        string SortPropertyName { get; set; }
        string PrevSortPropertyName { get; set; }
        bool SortAscending { get; set; }
        int TotalCustomers { 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 has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
Web Developer
United States United States
I am a tech lead working for Cap Gemini. Although I primarily work with the Microsoft technology stack (including .NET and legacy technologies) I like to keep myself informed about developments in the Java world.

Comments and Discussions