Skip to content

This repository contains the exercise completed as part of the Balta.io course on backend development.

License

Notifications You must be signed in to change notification settings

louresb/DataAccess

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Data Access

licence mit Development Status Badge

This is a simple CRUD project for an e-learning platform, showcasing data access using Dapper in C#.

Database Setup

The scripts required to run this project are available at the Scripts folder of this repository.

Available Features

  • CreateCategory: Creates a new category.
  • CreateManyCategory: Creates multiple categories at once.
  • UpdateCategory: Updates the title of an existing category.
  • DeleteCategory: Deletes an existing category.
  • ListCategories: Lists all categories.
  • GetCategory: Gets a specific category by ID.
  • ExecuteProcedure: Executes a stored procedure to delete a student.
  • ExecuteReadProcedure: Executes a stored procedure to get courses by category.
  • ExecuteScalar: Executes a query and returns a single value.
  • ReadView: Reads data from a view called vwCourses.
  • OneToOne: Performs a join between the CareerItem and Course tables with a one-to-one relationship.
  • OneToMany: Performs a join between the Career and CareerItem tables with a one-to-many relationship.
  • QueryMutiple: Executes multiple queries in a single call.
  • SelectIn: Performs a query using the IN clause.
  • Like: Performs a query using the LIKE clause.
  • Transaction: Executes an operation within a transaction.

Make sure to comment/uncomment features to verify them.

Learning resources

This project was created using Balta.io's backend course. I recommend checking it out if you're interested in learning about .NET programming.

License

MIT License © Bruno Loures

About

This repository contains the exercise completed as part of the Balta.io course on backend development.

Topics

Resources

License

Stars

Watchers

Forks