Click here to Skip to main content
Click here to Skip to main content
Articles » Database » Database » ADO.NET » Downloads
 
Add your own
alternative version
Go to top

Entity Framework in WinForms

, 28 Jul 2014
A component that makes it easy to use Entity Framework in WinForms projects, including design-time binding support.
EF5WinForms.zip
EF5Winforms
EF5WinForms
Design
EntityBindingNavigator.png
EntityDataSource.png
Properties
Resources
Cancel2_small.png
FirstRecord_small.png
LastRecord_small.png
NewItem_small.png
NextRecord_small.png
PreviousRecord_small.png
Refresh_small.png
Save_small.png
Undo_small.png
Sample
BusinessLogic
Model1.edmx
Model1.edmx.diagram
NORTHWND.MDF
NORTHWND_log.ldf
Properties
Settings.settings
Sample.csproj.user
EF6Winforms.zip
EF6Winforms
EF6WinForms
Design
EntityBindingNavigator.png
EntityDataSource.png
Properties
Resources
Cancel2_small.png
FirstRecord_small.png
LastRecord_small.png
NewItem_small.png
NextRecord_small.png
PreviousRecord_small.png
Refresh_small.png
Save_small.png
Undo_small.png
Sample
BusinessLogic
Model1.edmx
Model1.edmx.diagram
NORTHWND.MDF
NORTHWND_log.ldf
Properties
Settings.settings
Sample.csproj.user
efwinforms.zip
EFWinForms
EFWinForms
Design
EntityBindingNavigator.png
EntityDataSource.png
Properties
Resources
Cancel2_small.png
FirstRecord_small.png
LastRecord_small.png
NewItem_small.png
NextRecord_small.png
PreviousRecord_small.png
Refresh_small.png
Save_small.png
Undo_small.png
Sample
BusinessLogic
Forms
Model1.edmx
NORTHWND.MDF
NORTHWND_log.ldf
Properties
DataSources
NORTHWNDEntities.datasource
NORTHWNDEntities1.datasource
Product.datasource
Settings.settings
Resources
Cancel1_small.png
Cancel2_small.png
ChartArea_small.png
Chart_small.png
FirstRecord_small.png
LastRecord_small.png
NextRecord_small.png
PreviousRecord_small.png
Refresh_small.png
Save_small.png
Undo_small.png
Sample.suo
efwinforms_vb.zip
EFWinForms_VB
EFWinForms
EFWinForms.vbproj.user
My Project
Settings.settings
Resources
Cancel2_small.png
FirstRecord_small.png
LastRecord_small.png
NewItem_small.png
NextRecord_small.png
PreviousRecord_small.png
Refresh_small.png
Save_small.png
Undo_small.png
Sample
Model1.edmx
My Project
Application.myapp
DataSources
northwndEntities.datasource
Settings.settings
northwnd.mdf
northwnd_log.ldf
Sample.vbproj.user
Sample.suo
sample.zip
Sample
EFWinForms
Design
EntityBindingNavigator.png
EntityDataSource.png
Properties
Resources
Cancel2_small.png
FirstRecord_small.png
LastRecord_small.png
NewItem_small.png
NextRecord_small.png
PreviousRecord_small.png
Refresh_small.png
Save_small.png
Undo_small.png
Sample
BusinessLogic
Model1.edmx
NORTHWND.MDF
NORTHWND_log.ldf
Properties
DataSources
NORTHWNDEntities.datasource
NORTHWNDEntities1.datasource
Product.datasource
licenses.licx
Settings.settings
Resources
Cancel1_small.png
Cancel2_small.png
ChartArea_small.png
Chart_small.png
FirstRecord_small.png
LastRecord_small.png
NextRecord_small.png
PreviousRecord_small.png
Refresh_small.png
Save_small.png
Undo_small.png
separateconcerns.zip
SeparateConcerns
DataLayer
DataLayer.csproj.user
Model1.edmx
Properties
Settings.settings
EFWinForms
Design
EntityBindingNavigator.png
EntityDataSource.png
Properties
Resources
Cancel2_small.png
FirstRecord_small.png
LastRecord_small.png
NewItem_small.png
NextRecord_small.png
PreviousRecord_small.png
Refresh_small.png
Save_small.png
Undo_small.png
SampleApplication
Properties
DataSources
SeparateConcerns.DataSource.datasource
Settings.settings
SeparateConcerns.suo
namespace EFWinforms
{
    partial class EntityDataSource
    {
        /// <summary>
        /// Required designer variable.
        /// </summary>
        private System.ComponentModel.IContainer components = null;

        /// <summary> 
        /// Clean up any resources being used.
        /// </summary>
        /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
        protected override void Dispose(bool disposing)
        {
            if (disposing && (components != null))
            {
                components.Dispose();
                if (_ctx != null)
                {
                    _ctx.Dispose();
                    _ctx = null;
                }
            }
            base.Dispose(disposing);
        }

        #region Component Designer generated code

        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            components = new System.ComponentModel.Container();
        }

        #endregion
    }
}

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 Code Project Open License (CPOL)

Share

About the Author

Bernardo Castilho
Chief Technology Officer ComponentOne
United States United States
No Biography provided

| Advertise | Privacy | Mobile
Web03 | 2.8.140921.1 | Last Updated 28 Jul 2014
Article Copyright 2011 by Bernardo Castilho
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid