Skip to content

Commit c8935eb

Browse files
authored
Update README.md
1 parent 498a9f7 commit c8935eb

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

README.md

+12-2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,12 @@
1-
# access-sql-server-database-from-net-core-console-application
2-
How to connect .NET Core Console application to SQL server database and read table data
1+
# access sql server database from net core console application
2+
How to connect .NET Core Console application to SQL server database and read table data.
3+
4+
This blogpost explains how to connect .NET Core Console application to SQL server database and read table data.
5+
You will not be using the Entity framework for this. You will inject the dependency of IConfiguration to read appsettings.
6+
7+
1. **DAL -> DepartmentDAL.cs** - has required code to connect to SQL server and get Department data.
8+
2. **Models -> Department.cs** - is a model for Department entity.
9+
10+
![folder structure for dot net core console application](https://geeksarray.com/images/blog/folder-structure-for-adventure-data-console-app.PNG)
11+
12+
For more details [click here](https://geeksarray.com/blog/access-sql-server-database-from-net-core-console-application)

0 commit comments

Comments
 (0)