Skip to content

geeksarray/access-sql-server-database-from-net-core-console-application

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

access sql server database from net core console application

How to connect .NET Core Console application to SQL server database and read table data.

This blogpost explains how to connect .NET Core Console application to SQL server database and read table data. You will not be using the Entity framework for this. You will inject the dependency of IConfiguration to read appsettings.

  1. DAL -> DepartmentDAL.cs - has required code to connect to SQL server and get Department data.
  2. Models -> Department.cs - is a model for Department entity.

folder structure for dot net core console application

For more details click here

About

How to connect .NET Core Console application to SQL server database and read table data

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy