This is a simple CRUD project for an e-learning platform, showcasing data access using Dapper in C#.
The scripts required to run this project are available at the Scripts folder of this repository.
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 calledvwCourses
.OneToOne
: Performs a join between theCareerItem
andCourse
tables with a one-to-one relationship.OneToMany
: Performs a join between theCareer
andCareerItem
tables with a one-to-many relationship.QueryMutiple
: Executes multiple queries in a single call.SelectIn
: Performs a query using theIN
clause.Like
: Performs a query using theLIKE
clause.Transaction
: Executes an operation within a transaction.
Make sure to comment/uncomment features to verify them.
This project was created using Balta.io's backend course. I recommend checking it out if you're interested in learning about .NET programming.