Click here to Skip to main content
15,892,161 members
Articles / Programming Languages / C#

ADO.NET Entity Framework as Data Access Layer

Rate me:
Please Sign up or sign in to vote.
4.19/5 (12 votes)
30 Oct 2009Public Domain2 min read 106.4K   4.3K   75  
ADO.NET Entity Framework as Data Access Layer
  • dataaccesslayer.zip
    • DataAccessLayer
      • App.Config
      • bin
        • Debug
      • CustomerDbOperation.cs
      • DataAccessLayer.csproj
      • DataAccessLayerTestProject
      • IDatabaseOperation.cs
      • LocalTestRun.testrunconfig
      • Properties
      • TestModel.Designer.cs
      • TestModel.edmx
      • TestResults
        • Sarvesh_HOME 2009-10-28 23_49_27.trx
        • Sarvesh_HOME 2009-10-28 23_49_27
        • Sarvesh_HOME 2009-10-29 07_57_49.trx
        • Sarvesh_HOME 2009-10-29 07_57_49
        • Sarvesh_HOME 2009-10-29 08_35_04.trx
        • Sarvesh_HOME 2009-10-29 08_35_04
        • Sarvesh_HOME 2009-10-29 08_40_21.trx
        • Sarvesh_HOME 2009-10-29 08_40_21
        • Sarvesh_HOME 2009-10-29 08_42_11.trx
        • Sarvesh_HOME 2009-10-29 08_42_11
        • Sarvesh_HOME 2009-10-29 08_42_32.trx
        • Sarvesh_HOME 2009-10-29 08_42_32
        • Sarvesh_HOME 2009-10-29 09_07_25.trx
        • Sarvesh_HOME 2009-10-29 09_07_25
        • Sarvesh_HOME 2009-10-29 09_07_58.trx
        • Sarvesh_HOME 2009-10-29 09_07_58
        • Sarvesh_HOME 2009-10-29 09_08_43.trx
        • Sarvesh_HOME 2009-10-29 09_08_43
        • Sarvesh_HOME 2009-10-29 09_09_25.trx
        • Sarvesh_HOME 2009-10-29 09_09_25
        • Sarvesh_HOME 2009-10-29 09_14_55.trx
        • Sarvesh_HOME 2009-10-29 09_14_55
        • Sarvesh_HOME 2009-10-29 09_22_35.trx
        • Sarvesh_HOME 2009-10-29 09_22_35
        • Sarvesh_HOME 2009-10-29 09_46_03.trx
        • Sarvesh_HOME 2009-10-29 09_46_03
        • Sarvesh_HOME 2009-10-29 09_48_41.trx
        • Sarvesh_HOME 2009-10-29 09_48_41
        • Sarvesh_HOME 2009-10-29 09_48_58.trx
        • Sarvesh_HOME 2009-10-29 09_48_58
        • Sarvesh_HOME 2009-10-29 09_49_05.trx
        • Sarvesh_HOME 2009-10-29 09_49_05
        • Sarvesh_HOME 2009-10-29 09_49_38.trx
        • Sarvesh_HOME 2009-10-29 09_49_38
        • Sarvesh_HOME 2009-10-29 09_57_25.trx
        • Sarvesh_HOME 2009-10-29 09_57_25
        • Sarvesh_HOME 2009-10-29 10_03_07.trx
        • Sarvesh_HOME 2009-10-29 10_03_07
        • Sarvesh_HOME 2009-10-29 10_03_31.trx
        • Sarvesh_HOME 2009-10-29 10_03_31
        • Sarvesh_HOME 2009-10-29 10_04_15.trx
        • Sarvesh_HOME 2009-10-29 10_04_15
        • Sarvesh_HOME 2009-10-29 10_04_56.trx
        • Sarvesh_HOME 2009-10-29 10_04_56
        • Sarvesh_HOME 2009-10-29 10_06_14.trx
        • Sarvesh_HOME 2009-10-29 10_06_14
        • Sarvesh_HOME 2009-10-29 10_07_36.trx
        • Sarvesh_HOME 2009-10-29 10_07_36
        • Sarvesh_HOME 2009-10-29 10_07_50.trx
        • Sarvesh_HOME 2009-10-29 10_07_50
      • WCFADOEF.sln
      • WCFADOEF.suo
      • WCFADOEF.vsmdi
    • databaseScript
    • imgs
      • pic1.JPG
      • pic2.JPG
      • pic3.JPG
      • pic4.JPG
      • pic5.JPG
      • pic6.JPG
      • Thumbs.db
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;

// General Information about an assembly is controlled through the following 
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("DataAccessLayer")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("home")]
[assembly: AssemblyProduct("DataAccessLayer")]
[assembly: AssemblyCopyright("Copyright © home 2009")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]

// Setting ComVisible to false makes the types in this assembly not visible 
// to COM components.  If you need to access a type in this assembly from 
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]

// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("b2ae0e1b-7192-4b73-895a-7512c867a932")]

// Version information for an assembly consists of the following four values:
//
//      Major Version
//      Minor Version 
//      Build Number
//      Revision
//
// You can specify all the values or you can default the Build and Revision Numbers 
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]

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 A Public Domain dedication


Written By
Architect
India India
Sarvesh Upadhyay is Technical Architect in Microsoft Technologies with 12 yrs of hands on experience on various domain like CRM, CMS, Inventory Management System, Telecome Billing, E-Commerce application, Retail etc.
He has indepth knowledge on Design Patterns, Asp.Net MVC, MVP , C#, JavaScript, Knockout, MS-SQL Server,Web Services,Web API, MSMQ, Saleslogix CRM, etc.

Comments and Discussions