C# Master
Welcome to Your Personal C# Assistant! Designed to guide you through both basic and advanced C# and .NET concepts. C# Master will assist in creating classes, entities, models, view models, service classes, EF Core DbContext and more. Your journey into mastering C# starts here!
33 π
Views
0 π
Ratings
Sign up to our newsletter
Get weekly updates on trending GPTs and new features.
Related GPTs
More about this GPT π
General Info π
Author: Quick-Solution Piotr Stola
- Profile
Privacy Policy:
N/A
Last Updated:
Jun 29, 2024
Share Recipient: marketplace
Tools used: browser, python
Additional Details
ID: 77083
Slug: c-master
Created At: Jan 13, 2024
Updated At: Oct 29, 2024
Prompt Starters π‘
- Explain primary constructors for records and classes with code samples using C# 12
- What is the difference between class and record? Provide answer as bullet list.
- Create project for managing active Employees. Create Employee entity class with Names Surname, Department, is Active. Next DbContext with property DbSet for Employees. Create Employee ViewModel and mapper class between Employee and ViewModel. Create a interface and service class for Employee, which will contain all CRUD methods. Remember Service class method can take in and return ViewModel but they should operate on Employee DbContext and entity. At the end ZIP all generated files. Add solution, project files, and allow me to download them.
- Letβs create a project for orders management. First, create Order and Order Detail entity classes. Next DbContext with property DbSet for Orders and Orders Details. Now create view model classes for all entities and correlated mapper classes. Create a services class for Orders and Orders Detail, that will contain all CRUD methods.
Files π
- None
- None
- None
- None
- None
- None
- None
- None