Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/janluksoft/efsqlserverwinform
Entity Framework application for CRUD operations on Microsoft SQL Server
https://github.com/janluksoft/efsqlserverwinform
c-sharp code-first dotnet entity-framework entity-framework-6 visual-studio winform winforms
Last synced: 27 days ago
JSON representation
Entity Framework application for CRUD operations on Microsoft SQL Server
- Host: GitHub
- URL: https://github.com/janluksoft/efsqlserverwinform
- Owner: janluksoft
- License: mit
- Created: 2022-10-16T15:23:57.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2022-10-16T15:26:19.000Z (over 2 years ago)
- Last Synced: 2024-11-14T06:24:30.105Z (3 months ago)
- Topics: c-sharp, code-first, dotnet, entity-framework, entity-framework-6, visual-studio, winform, winforms
- Language: C#
- Homepage:
- Size: 200 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Entity Framework with SqlServer
The application demonstrates the use of Entity Framework to perform simple CRUD operations on a Microsoft SQL Server database using WinForm windows.
The structure of the table is defined by the POCO (CPerson) class. The class (PeopleDBContext) creates a context (dbPersons) that represents a table (Sprinters) in the form of an object. Operations on this object are automatically transferred to the table (Sprinters) in the database.
## Using the application
- On the (Login) tab, enter the login information from SQL Server
- Check the connection with the button 2 (Check Connection)
- For valid data, a message will be shown: (Connection Good)![](/Jpg/Entity-Framework_a_SQL-Server_Login-parameters.png)
- In the (Proposal) tab, press the (4) button. The application should automatically create a table (Sprinters) on SQL Server
![](Jpg/Entity-Framework_b_SQL-Server_Use_examples.png)- In the (DataBase) tab you can: (5) read the table from the SQL server, (6) add rows, (7) delete rows.
![](/Jpg/Entity-Framework_c_SQL-Server_Created-table.png)## Details
- Environment: VS2019
- Target Framework: .NET Framework 4.7.2
- Window: WinForm