Learn about building Web apps with ASP.NET Core.
8 |Use this page to detail your site's privacy policy.
7 | -------------------------------------------------------------------------------- /02 - [Entity Framework Core]/09 - [Entity Relations - Exercise]/P03_FootballBetting.Web/Views/Shared/_ValidationScriptsPartial.cshtml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /02 - [Entity Framework Core]/09 - [Entity Relations - Exercise]/P03_FootballBetting.Web/Views/_ViewImports.cshtml: -------------------------------------------------------------------------------- 1 | @using P03_FootballBetting.Web 2 | @using P03_FootballBetting.Web.Models 3 | @addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers 4 | -------------------------------------------------------------------------------- /02 - [Entity Framework Core]/09 - [Entity Relations - Exercise]/P03_FootballBetting.Web/Views/_ViewStart.cshtml: -------------------------------------------------------------------------------- 1 | @{ 2 | Layout = "_Layout"; 3 | } 4 | -------------------------------------------------------------------------------- /02 - [Entity Framework Core]/09 - [Entity Relations - Exercise]/P03_FootballBetting.Web/appsettings.Development.json: -------------------------------------------------------------------------------- 1 | { 2 | "Logging": { 3 | "LogLevel": { 4 | "Default": "Information", 5 | "Microsoft": "Warning", 6 | "Microsoft.Hosting.Lifetime": "Information" 7 | } 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /02 - [Entity Framework Core]/09 - [Entity Relations - Exercise]/P03_FootballBetting.Web/appsettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "Logging": { 3 | "LogLevel": { 4 | "Default": "Information", 5 | "Microsoft": "Warning", 6 | "Microsoft.Hosting.Lifetime": "Information" 7 | } 8 | }, 9 | "AllowedHosts": "*" 10 | } 11 | -------------------------------------------------------------------------------- /02 - [Entity Framework Core]/09 - [Entity Relations - Exercise]/P03_FootballBetting.Web/wwwroot/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/georgidelchev/CSharp-Databases/66861fcb46c3554dfd4011fe7f4a9aa5838eeed2/02 - [Entity Framework Core]/09 - [Entity Relations - Exercise]/P03_FootballBetting.Web/wwwroot/favicon.ico -------------------------------------------------------------------------------- /02 - [Entity Framework Core]/09 - [Entity Relations - Exercise]/P03_FootballBetting.Web/wwwroot/js/site.js: -------------------------------------------------------------------------------- 1 | // Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification 2 | // for details on configuring this project to bundle and minify static web assets. 3 | 4 | // Write your JavaScript code. 5 | -------------------------------------------------------------------------------- /02 - [Entity Framework Core]/10 - [LINQ - Exercise]/MusicHub.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/georgidelchev/CSharp-Databases/66861fcb46c3554dfd4011fe7f4a9aa5838eeed2/02 - [Entity Framework Core]/10 - [LINQ - Exercise]/MusicHub.zip -------------------------------------------------------------------------------- /02 - [Entity Framework Core]/10 - [LINQ - Exercise]/MusicHub/Data/Configuration.cs: -------------------------------------------------------------------------------- 1 | namespace MusicHub.Data 2 | { 3 | public static class Configuration 4 | { 5 | public static string ConnectionString = 6 | @"Server=.;Database=MusicHub;Trusted_Connection=True"; 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /02 - [Entity Framework Core]/10 - [LINQ - Exercise]/MusicHub/Data/Models/Enums/Genre.cs: -------------------------------------------------------------------------------- 1 | namespace MusicHub.Data.Models.Enums 2 | { 3 | public enum Genre 4 | { 5 | Blues = 0, 6 | Rap = 1, 7 | PopMusic = 2, 8 | Rock = 3, 9 | Jazz = 4 10 | } 11 | } -------------------------------------------------------------------------------- /02 - [Entity Framework Core]/11 - [Advanced Querying - Lab]/MyCoolCarSystem/Data/Configuration.cs: -------------------------------------------------------------------------------- 1 | namespace MyCoolCarSystem.Data 2 | { 3 | public static class Configuration 4 | { 5 | public const string CONNECTION_STRING = @"Server=DESKTOP-10E0DVG\SQLEXPRESS;Database=CarDb;Integrated Security=true;"; 6 | } 7 | } -------------------------------------------------------------------------------- /02 - [Entity Framework Core]/11 - [Advanced Querying - Lab]/MyCoolCarSystem/Results/CarResultModel.cs: -------------------------------------------------------------------------------- 1 | namespace MyCoolCarSystem.Results 2 | { 3 | public class CarResultModel 4 | { 5 | public string Vin { get; set; } 6 | 7 | public string Make { get; set; } 8 | 9 | public string Model { get; set; } 10 | } 11 | } -------------------------------------------------------------------------------- /02 - [Entity Framework Core]/11 - [Advanced Querying - Lab]/MyCoolCarSystem/Results/CustomerResultModel.cs: -------------------------------------------------------------------------------- 1 | namespace MyCoolCarSystem.Results 2 | { 3 | public class CustomerResultModel 4 | { 5 | public string Name { get; set; } 6 | 7 | public string Town { get; set; } 8 | } 9 | } -------------------------------------------------------------------------------- /02 - [Entity Framework Core]/11 - [Advanced Querying - Lab]/MyCoolCarSystem/Results/PurchaseResultModel.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace MyCoolCarSystem.Results 4 | { 5 | public class PurchaseResultModel 6 | { 7 | public decimal Price { get; set; } 8 | 9 | public DateTime PurchaseDate { get; set; } 10 | 11 | public CarResultModel Car { get; set; } 12 | 13 | public CustomerResultModel Customer { get; set; } 14 | } 15 | } -------------------------------------------------------------------------------- /02 - [Entity Framework Core]/11 - [Advanced Querying - Lab]/MyCoolCarSystem/Results/ResultModel.cs: -------------------------------------------------------------------------------- 1 | namespace MyCoolCarSystem.Results 2 | { 3 | public class ResultModel 4 | { 5 | public string FullName { get; set; } 6 | } 7 | } -------------------------------------------------------------------------------- /02 - [Entity Framework Core]/12 - [Advanced Querying - Exercise]/BookShop.Data/Configurations/ConnectionConfiguration.cs: -------------------------------------------------------------------------------- 1 | namespace BookShop.Data.Configurations 2 | { 3 | internal static class ConnectionConfiguration 4 | { 5 | internal const string CONNECTION_STRING = @"Server=DESKTOP-10E0DVG\SQLEXPRESS;Database=BookShop;Integrated Security=true;"; 6 | } 7 | } -------------------------------------------------------------------------------- /02 - [Entity Framework Core]/12 - [Advanced Querying - Exercise]/BookShop.Initializer/BookShop.Initializer.csproj: -------------------------------------------------------------------------------- 1 |Learn about building Web apps with ASP.NET Core.
8 |Use this page to detail your site's privacy policy.
7 | -------------------------------------------------------------------------------- /02 - [Entity Framework Core]/23 - [ASP.NET - Workshop 1]/PetStore Project/Web/PetStore.Web/Views/Shared/_ValidationScriptsPartial.cshtml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /02 - [Entity Framework Core]/23 - [ASP.NET - Workshop 1]/PetStore Project/Web/PetStore.Web/Views/_ViewImports.cshtml: -------------------------------------------------------------------------------- 1 | @using PetStore.Web 2 | @using PetStore.Web.Models 3 | @using PetStore.Web.Models.Pet; 4 | @using PetStore.Services.Models.Pet; 5 | @addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers 6 | -------------------------------------------------------------------------------- /02 - [Entity Framework Core]/23 - [ASP.NET - Workshop 1]/PetStore Project/Web/PetStore.Web/Views/_ViewStart.cshtml: -------------------------------------------------------------------------------- 1 | @{ 2 | Layout = "_Layout"; 3 | } 4 | -------------------------------------------------------------------------------- /02 - [Entity Framework Core]/23 - [ASP.NET - Workshop 1]/PetStore Project/Web/PetStore.Web/appsettings.Development.json: -------------------------------------------------------------------------------- 1 | { 2 | "Logging": { 3 | "LogLevel": { 4 | "Default": "Information", 5 | "Microsoft": "Warning", 6 | "Microsoft.Hosting.Lifetime": "Information" 7 | } 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /02 - [Entity Framework Core]/23 - [ASP.NET - Workshop 1]/PetStore Project/Web/PetStore.Web/appsettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "Logging": { 3 | "LogLevel": { 4 | "Default": "Information", 5 | "Microsoft": "Warning", 6 | "Microsoft.Hosting.Lifetime": "Information" 7 | } 8 | }, 9 | "AllowedHosts": "*" 10 | } 11 | -------------------------------------------------------------------------------- /02 - [Entity Framework Core]/23 - [ASP.NET - Workshop 1]/PetStore Project/Web/PetStore.Web/wwwroot/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/georgidelchev/CSharp-Databases/66861fcb46c3554dfd4011fe7f4a9aa5838eeed2/02 - [Entity Framework Core]/23 - [ASP.NET - Workshop 1]/PetStore Project/Web/PetStore.Web/wwwroot/favicon.ico -------------------------------------------------------------------------------- /02 - [Entity Framework Core]/23 - [ASP.NET - Workshop 1]/PetStore Project/Web/PetStore.Web/wwwroot/js/site.js: -------------------------------------------------------------------------------- 1 | // Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification 2 | // for details on configuring this project to bundle and minify static web assets. 3 | 4 | // Write your JavaScript code. 5 | -------------------------------------------------------------------------------- /02 - [Entity Framework Core]/23 - [ASP.NET - Workshop 1]/RealEstates Project/RealEstates.Models/RealEstates.Models.csproj: -------------------------------------------------------------------------------- 1 |Use this page to detail your site's privacy policy.
7 | -------------------------------------------------------------------------------- /02 - [Entity Framework Core]/23 - [ASP.NET - Workshop 1]/RealEstates Project/RealEstates.Web/Views/Shared/_ValidationScriptsPartial.cshtml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /02 - [Entity Framework Core]/23 - [ASP.NET - Workshop 1]/RealEstates Project/RealEstates.Web/Views/_ViewImports.cshtml: -------------------------------------------------------------------------------- 1 | @using RealEstates.Web 2 | @using RealEstates.Web.Models 3 | @addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers 4 | -------------------------------------------------------------------------------- /02 - [Entity Framework Core]/23 - [ASP.NET - Workshop 1]/RealEstates Project/RealEstates.Web/Views/_ViewStart.cshtml: -------------------------------------------------------------------------------- 1 | @{ 2 | Layout = "_Layout"; 3 | } 4 | -------------------------------------------------------------------------------- /02 - [Entity Framework Core]/23 - [ASP.NET - Workshop 1]/RealEstates Project/RealEstates.Web/appsettings.Development.json: -------------------------------------------------------------------------------- 1 | { 2 | "Logging": { 3 | "LogLevel": { 4 | "Default": "Information", 5 | "Microsoft": "Warning", 6 | "Microsoft.Hosting.Lifetime": "Information" 7 | } 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /02 - [Entity Framework Core]/23 - [ASP.NET - Workshop 1]/RealEstates Project/RealEstates.Web/appsettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "ConnectionString": "Server=.;Database=RealEstate;Integrated Security=true", 3 | "Logging": { 4 | "LogLevel": { 5 | "Default": "Information", 6 | "Microsoft": "Warning", 7 | "Microsoft.Hosting.Lifetime": "Information" 8 | } 9 | }, 10 | "AllowedHosts": "*" 11 | } 12 | -------------------------------------------------------------------------------- /02 - [Entity Framework Core]/23 - [ASP.NET - Workshop 1]/RealEstates Project/RealEstates.Web/wwwroot/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/georgidelchev/CSharp-Databases/66861fcb46c3554dfd4011fe7f4a9aa5838eeed2/02 - [Entity Framework Core]/23 - [ASP.NET - Workshop 1]/RealEstates Project/RealEstates.Web/wwwroot/favicon.ico -------------------------------------------------------------------------------- /02 - [Entity Framework Core]/23 - [ASP.NET - Workshop 1]/RealEstates Project/RealEstates.Web/wwwroot/js/site.js: -------------------------------------------------------------------------------- 1 | // Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification 2 | // for details on configuring this project to bundle and minify static web assets. 3 | 4 | // Write your JavaScript code. 5 | -------------------------------------------------------------------------------- /02 - [Entity Framework Core]/23 - [ASP.NET - Workshop 1]/RealEstates Project/RealEstates.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/georgidelchev/CSharp-Databases/66861fcb46c3554dfd4011fe7f4a9aa5838eeed2/02 - [Entity Framework Core]/23 - [ASP.NET - Workshop 1]/RealEstates Project/RealEstates.json -------------------------------------------------------------------------------- /02 - [Entity Framework Core]/24 - [ASP.NET - Workshop 2]/Data/PetStore.Data.Models/Breed.cs: -------------------------------------------------------------------------------- 1 | using System.Collections.Generic; 2 | 3 | namespace PetStore.Data.Models 4 | { 5 | public class Breed 6 | { 7 | public int Id { get; set; } 8 | 9 | public string Name { get; set; } 10 | 11 | public ICollectionLearn about building Web apps with ASP.NET Core.
8 |Use this page to detail your site's privacy policy.
7 | -------------------------------------------------------------------------------- /02 - [Entity Framework Core]/24 - [ASP.NET - Workshop 2]/Web/PetStore.Web/Views/Shared/_ValidationScriptsPartial.cshtml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /02 - [Entity Framework Core]/24 - [ASP.NET - Workshop 2]/Web/PetStore.Web/Views/_ViewImports.cshtml: -------------------------------------------------------------------------------- 1 | @using PetStore.Web 2 | @using PetStore.Web.Models 3 | @using PetStore.Services.Models.Pet; 4 | @addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers 5 | -------------------------------------------------------------------------------- /02 - [Entity Framework Core]/24 - [ASP.NET - Workshop 2]/Web/PetStore.Web/Views/_ViewStart.cshtml: -------------------------------------------------------------------------------- 1 | @{ 2 | Layout = "_Layout"; 3 | } 4 | -------------------------------------------------------------------------------- /02 - [Entity Framework Core]/24 - [ASP.NET - Workshop 2]/Web/PetStore.Web/appsettings.Development.json: -------------------------------------------------------------------------------- 1 | { 2 | "Logging": { 3 | "LogLevel": { 4 | "Default": "Information", 5 | "Microsoft": "Warning", 6 | "Microsoft.Hosting.Lifetime": "Information" 7 | } 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /02 - [Entity Framework Core]/24 - [ASP.NET - Workshop 2]/Web/PetStore.Web/appsettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "Logging": { 3 | "LogLevel": { 4 | "Default": "Information", 5 | "Microsoft": "Warning", 6 | "Microsoft.Hosting.Lifetime": "Information" 7 | } 8 | }, 9 | "AllowedHosts": "*" 10 | } 11 | -------------------------------------------------------------------------------- /02 - [Entity Framework Core]/24 - [ASP.NET - Workshop 2]/Web/PetStore.Web/wwwroot/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/georgidelchev/CSharp-Databases/66861fcb46c3554dfd4011fe7f4a9aa5838eeed2/02 - [Entity Framework Core]/24 - [ASP.NET - Workshop 2]/Web/PetStore.Web/wwwroot/favicon.ico -------------------------------------------------------------------------------- /02 - [Entity Framework Core]/24 - [ASP.NET - Workshop 2]/Web/PetStore.Web/wwwroot/js/site.js: -------------------------------------------------------------------------------- 1 | // Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification 2 | // for details on configuring this project to bundle and minify static web assets. 3 | 4 | // Write your JavaScript code. 5 | -------------------------------------------------------------------------------- /02 - [Entity Framework Core]/[Entity Framework Core - Exams]/01 - [C# DB Advanced Exam - 13 Dec 2019]/01. Model Defition_Problem Descriptions.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/georgidelchev/CSharp-Databases/66861fcb46c3554dfd4011fe7f4a9aa5838eeed2/02 - [Entity Framework Core]/[Entity Framework Core - Exams]/01 - [C# DB Advanced Exam - 13 Dec 2019]/01. Model Defition_Problem Descriptions.docx -------------------------------------------------------------------------------- /02 - [Entity Framework Core]/[Entity Framework Core - Exams]/01 - [C# DB Advanced Exam - 13 Dec 2019]/01. Model Defition_Skeleton.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/georgidelchev/CSharp-Databases/66861fcb46c3554dfd4011fe7f4a9aa5838eeed2/02 - [Entity Framework Core]/[Entity Framework Core - Exams]/01 - [C# DB Advanced Exam - 13 Dec 2019]/01. Model Defition_Skeleton.zip -------------------------------------------------------------------------------- /02 - [Entity Framework Core]/[Entity Framework Core - Exams]/01 - [C# DB Advanced Exam - 13 Dec 2019]/BookShop/Data/Configuration.cs: -------------------------------------------------------------------------------- 1 | namespace BookShop.Data 2 | { 3 | public static class Configuration 4 | { 5 | public static string ConnectionString = @"Server=.;Database=BookShop;Trusted_Connection=True"; 6 | } 7 | } -------------------------------------------------------------------------------- /02 - [Entity Framework Core]/[Entity Framework Core - Exams]/01 - [C# DB Advanced Exam - 13 Dec 2019]/BookShop/Data/Models/Enums/Genre.cs: -------------------------------------------------------------------------------- 1 | namespace BookShop.Data.Models.Enums 2 | { 3 | public enum Genre 4 | { 5 | Biography = 1, 6 | Business = 2, 7 | Science = 3 8 | } 9 | } -------------------------------------------------------------------------------- /02 - [Entity Framework Core]/[Entity Framework Core - Exams]/01 - [C# DB Advanced Exam - 13 Dec 2019]/BookShop/DataProcessor/ImportDto/ImportAuthorBookDto.cs: -------------------------------------------------------------------------------- 1 | using Newtonsoft.Json; 2 | 3 | namespace BookShop.DataProcessor.ImportDto 4 | { 5 | public class ImportAuthorBookDto 6 | { 7 | [JsonProperty("Id")] 8 | public int? BookId { get; set; } 9 | } 10 | } -------------------------------------------------------------------------------- /02 - [Entity Framework Core]/[Entity Framework Core - Exams]/02 - [C# DB Advanced Exam - 07 December 2019]/01. Model Defition_Problem Description (1).docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/georgidelchev/CSharp-Databases/66861fcb46c3554dfd4011fe7f4a9aa5838eeed2/02 - [Entity Framework Core]/[Entity Framework Core - Exams]/02 - [C# DB Advanced Exam - 07 December 2019]/01. Model Defition_Problem Description (1).docx -------------------------------------------------------------------------------- /02 - [Entity Framework Core]/[Entity Framework Core - Exams]/02 - [C# DB Advanced Exam - 07 December 2019]/01. Model Defition_Skeleton (2).zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/georgidelchev/CSharp-Databases/66861fcb46c3554dfd4011fe7f4a9aa5838eeed2/02 - [Entity Framework Core]/[Entity Framework Core - Exams]/02 - [C# DB Advanced Exam - 07 December 2019]/01. Model Defition_Skeleton (2).zip -------------------------------------------------------------------------------- /02 - [Entity Framework Core]/[Entity Framework Core - Exams]/02 - [C# DB Advanced Exam - 07 December 2019]/TeisterMask/Data/Configuration.cs: -------------------------------------------------------------------------------- 1 | namespace TeisterMask.Data 2 | { 3 | public static class Configuration 4 | { 5 | public static string ConnectionString = @"Server=DESKTOP-10E0DVG\SQLEXPRESS01;Database=TeisterMask;Trusted_Connection=True"; 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /02 - [Entity Framework Core]/[Entity Framework Core - Exams]/02 - [C# DB Advanced Exam - 07 December 2019]/TeisterMask/Data/Models/Enums/ExecutionType.cs: -------------------------------------------------------------------------------- 1 | namespace TeisterMask.Data.Models.Enums 2 | { 3 | public enum ExecutionType 4 | { 5 | ProductBacklog = 0, 6 | SprintBacklog = 1, 7 | InProgress = 2, 8 | Finished = 3 9 | } 10 | } -------------------------------------------------------------------------------- /02 - [Entity Framework Core]/[Entity Framework Core - Exams]/02 - [C# DB Advanced Exam - 07 December 2019]/TeisterMask/Data/Models/Enums/LabelType.cs: -------------------------------------------------------------------------------- 1 | namespace TeisterMask.Data.Models.Enums 2 | { 3 | public enum LabelType 4 | { 5 | Priority = 0, 6 | CSharpAdvanced = 1, 7 | JavaAdvanced = 2, 8 | EntityFramework = 3, 9 | Hibernate = 4 10 | } 11 | } -------------------------------------------------------------------------------- /02 - [Entity Framework Core]/[Entity Framework Core - Exams]/02 - [C# DB Advanced Exam - 07 December 2019]/TeisterMask/TeisterMaskProfile.cs: -------------------------------------------------------------------------------- 1 | namespace TeisterMask 2 | { 3 | using AutoMapper; 4 | 5 | public class TeisterMaskProfile : Profile 6 | { 7 | // Configure your AutoMapper here if you wish to use it. If not, DO NOT DELETE OR RENAME THIS CLASS 8 | public TeisterMaskProfile() 9 | { 10 | 11 | } 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /02 - [Entity Framework Core]/[Entity Framework Core - Exams]/03 - [C# DB Advanced Exam - 08 August 2020]/01. Model Definition_Problem Description.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/georgidelchev/CSharp-Databases/66861fcb46c3554dfd4011fe7f4a9aa5838eeed2/02 - [Entity Framework Core]/[Entity Framework Core - Exams]/03 - [C# DB Advanced Exam - 08 August 2020]/01. Model Definition_Problem Description.docx -------------------------------------------------------------------------------- /02 - [Entity Framework Core]/[Entity Framework Core - Exams]/03 - [C# DB Advanced Exam - 08 August 2020]/01. Model Definition_Skeleton + Datasets.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/georgidelchev/CSharp-Databases/66861fcb46c3554dfd4011fe7f4a9aa5838eeed2/02 - [Entity Framework Core]/[Entity Framework Core - Exams]/03 - [C# DB Advanced Exam - 08 August 2020]/01. Model Definition_Skeleton + Datasets.zip -------------------------------------------------------------------------------- /02 - [Entity Framework Core]/[Entity Framework Core - Exams]/03 - [C# DB Advanced Exam - 08 August 2020]/VaporStore/Data/Configuration.cs: -------------------------------------------------------------------------------- 1 | namespace VaporStore.Data 2 | { 3 | public static class Configuration 4 | { 5 | public static string ConnectionString = 6 | @"Server=.;Database=VaporStore;Trusted_Connection=True"; 7 | } 8 | } -------------------------------------------------------------------------------- /02 - [Entity Framework Core]/[Entity Framework Core - Exams]/03 - [C# DB Advanced Exam - 08 August 2020]/VaporStore/Data/Models/Enums/CardType.cs: -------------------------------------------------------------------------------- 1 | namespace VaporStore.Data.Models.Enums 2 | { 3 | public enum CardType 4 | { 5 | Debit = 0, 6 | Credit = 1 7 | } 8 | } -------------------------------------------------------------------------------- /02 - [Entity Framework Core]/[Entity Framework Core - Exams]/03 - [C# DB Advanced Exam - 08 August 2020]/VaporStore/Data/Models/Enums/PurchaseType.cs: -------------------------------------------------------------------------------- 1 | namespace VaporStore.Data.Models.Enums 2 | { 3 | public enum PurchaseType 4 | { 5 | Retail = 0, 6 | Digital = 1 7 | } 8 | } -------------------------------------------------------------------------------- /02 - [Entity Framework Core]/[Entity Framework Core - Exams]/03 - [C# DB Advanced Exam - 08 August 2020]/VaporStore/Datasets/purchases.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/georgidelchev/CSharp-Databases/66861fcb46c3554dfd4011fe7f4a9aa5838eeed2/02 - [Entity Framework Core]/[Entity Framework Core - Exams]/03 - [C# DB Advanced Exam - 08 August 2020]/VaporStore/Datasets/purchases.xml -------------------------------------------------------------------------------- /02 - [Entity Framework Core]/[Entity Framework Core - Exams]/03 - [C# DB Advanced Exam - 08 August 2020]/VaporStore/VaporStoreProfile.cs: -------------------------------------------------------------------------------- 1 | using AutoMapper; 2 | 3 | namespace VaporStore 4 | { 5 | public class VaporStoreProfile : Profile 6 | { 7 | // Configure your AutoMapper here if you wish to use it. If not, DO NOT DELETE THIS CLASS 8 | public VaporStoreProfile() 9 | { 10 | } 11 | } 12 | } -------------------------------------------------------------------------------- /02 - [Entity Framework Core]/[Entity Framework Core - Exams]/04 - [C# DB Advanced Retake Exam - 14 August 2020]/01. Model Definition_Problem Description.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/georgidelchev/CSharp-Databases/66861fcb46c3554dfd4011fe7f4a9aa5838eeed2/02 - [Entity Framework Core]/[Entity Framework Core - Exams]/04 - [C# DB Advanced Retake Exam - 14 August 2020]/01. Model Definition_Problem Description.docx -------------------------------------------------------------------------------- /02 - [Entity Framework Core]/[Entity Framework Core - Exams]/04 - [C# DB Advanced Retake Exam - 14 August 2020]/01. Model Definition_Skeleton and Datasets.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/georgidelchev/CSharp-Databases/66861fcb46c3554dfd4011fe7f4a9aa5838eeed2/02 - [Entity Framework Core]/[Entity Framework Core - Exams]/04 - [C# DB Advanced Retake Exam - 14 August 2020]/01. Model Definition_Skeleton and Datasets.zip -------------------------------------------------------------------------------- /02 - [Entity Framework Core]/[Entity Framework Core - Exams]/04 - [C# DB Advanced Retake Exam - 14 August 2020]/SoftJail/Data/Configuration.cs: -------------------------------------------------------------------------------- 1 | namespace SoftJail.Data 2 | { 3 | public static class Configuration 4 | { 5 | public static string ConnectionString = @"Server=.;Database=SoftJail;Trusted_Connection=True"; 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /02 - [Entity Framework Core]/[Entity Framework Core - Exams]/04 - [C# DB Advanced Retake Exam - 14 August 2020]/SoftJail/Data/Models/Enums/Position.cs: -------------------------------------------------------------------------------- 1 | namespace SoftJail.Data.Models.Enums 2 | { 3 | public enum Position 4 | { 5 | Overseer = 0, 6 | Guard = 1, 7 | Watcher = 2, 8 | Labour = 3 9 | } 10 | } -------------------------------------------------------------------------------- /02 - [Entity Framework Core]/[Entity Framework Core - Exams]/04 - [C# DB Advanced Retake Exam - 14 August 2020]/SoftJail/Data/Models/Enums/Weapon.cs: -------------------------------------------------------------------------------- 1 | namespace SoftJail.Data.Models.Enums 2 | { 3 | public enum Weapon 4 | { 5 | Knife = 0, 6 | FlashPulse = 1, 7 | ChainRifle = 2, 8 | Pistol = 3, 9 | Sniper = 4 10 | } 11 | } -------------------------------------------------------------------------------- /02 - [Entity Framework Core]/[Entity Framework Core - Exams]/04 - [C# DB Advanced Retake Exam - 14 August 2020]/SoftJail/DataProcessor/ExportDto/ExportPrisonerMessageDto.cs: -------------------------------------------------------------------------------- 1 | using System.Xml.Serialization; 2 | 3 | namespace SoftJail.DataProcessor.ExportDto 4 | { 5 | [XmlType("Message")] 6 | public class ExportPrisonerMessageDto 7 | { 8 | [XmlElement("Description")] 9 | public string Description { get; set; } 10 | } 11 | } -------------------------------------------------------------------------------- /02 - [Entity Framework Core]/[Entity Framework Core - Exams]/04 - [C# DB Advanced Retake Exam - 14 August 2020]/SoftJail/ExportResults/Expected Result - PrisonersInbox.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/georgidelchev/CSharp-Databases/66861fcb46c3554dfd4011fe7f4a9aa5838eeed2/02 - [Entity Framework Core]/[Entity Framework Core - Exams]/04 - [C# DB Advanced Retake Exam - 14 August 2020]/SoftJail/ExportResults/Expected Result - PrisonersInbox.xml -------------------------------------------------------------------------------- /02 - [Entity Framework Core]/[Entity Framework Core - Exams]/04 - [C# DB Advanced Retake Exam - 14 August 2020]/SoftJail/ImportResults/Expected Result - ImportDepartmentsCells.txt: -------------------------------------------------------------------------------- 1 | Invalid Data 2 | Invalid Data 3 | Invalid Data 4 | Imported Cybersecurity with 5 cells 5 | Imported StackOverflow with 4 cells 6 | Imported Blockchain with 7 cells 7 | Imported WebSecurity with 4 cells 8 | Imported ArtificialIntelligence with 6 cells 9 | Invalid Data 10 | Imported DeepWeb with 8 cells 11 | Invalid Data -------------------------------------------------------------------------------- /02 - [Entity Framework Core]/[Entity Framework Core - Exams]/04 - [C# DB Advanced Retake Exam - 14 August 2020]/SoftJail/ImportResults/ImportDepartmentsCells.txt: -------------------------------------------------------------------------------- 1 | Invalid Data 2 | Invalid Data 3 | Invalid Data 4 | Imported Cybersecurity with 5 cells 5 | Imported StackOverflow with 4 cells 6 | Imported Blockchain with 7 cells 7 | Imported WebSecurity with 4 cells 8 | Imported ArtificialIntelligence with 6 cells 9 | Invalid Data 10 | Imported DeepWeb with 8 cells 11 | Invalid Data -------------------------------------------------------------------------------- /02 - [Entity Framework Core]/[Entity Framework Core - Exams]/04 - [C# DB Advanced Retake Exam - 14 August 2020]/SoftJail/SoftJailProfile.cs: -------------------------------------------------------------------------------- 1 | using AutoMapper; 2 | 3 | namespace SoftJail 4 | { 5 | public class SoftJailProfile : Profile 6 | { 7 | // Configure your AutoMapper here if you wish to use it. If not, DO NOT DELETE THIS CLASS 8 | public SoftJailProfile() 9 | { 10 | } 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /02 - [Entity Framework Core]/[Entity Framework Core - Exams]/05 - [C# DB Advanced Exam - 07 April 2019]/01. Model Definition _Problem Description .docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/georgidelchev/CSharp-Databases/66861fcb46c3554dfd4011fe7f4a9aa5838eeed2/02 - [Entity Framework Core]/[Entity Framework Core - Exams]/05 - [C# DB Advanced Exam - 07 April 2019]/01. Model Definition _Problem Description .docx -------------------------------------------------------------------------------- /02 - [Entity Framework Core]/[Entity Framework Core - Exams]/05 - [C# DB Advanced Exam - 07 April 2019]/01. Model Definition _Skeleton + Datasets.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/georgidelchev/CSharp-Databases/66861fcb46c3554dfd4011fe7f4a9aa5838eeed2/02 - [Entity Framework Core]/[Entity Framework Core - Exams]/05 - [C# DB Advanced Exam - 07 April 2019]/01. Model Definition _Skeleton + Datasets.zip -------------------------------------------------------------------------------- /02 - [Entity Framework Core]/[Entity Framework Core - Exams]/05 - [C# DB Advanced Exam - 07 April 2019]/Cinema/CinemaProfile.cs: -------------------------------------------------------------------------------- 1 | using AutoMapper; 2 | 3 | namespace Cinema 4 | { 5 | public class CinemaProfile : Profile 6 | { 7 | // Configure your AutoMapper here if you wish to use it. If not, DO NOT DELETE THIS CLASS 8 | public CinemaProfile() 9 | { 10 | } 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /02 - [Entity Framework Core]/[Entity Framework Core - Exams]/05 - [C# DB Advanced Exam - 07 April 2019]/Cinema/CinemaProfile.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/georgidelchev/CSharp-Databases/66861fcb46c3554dfd4011fe7f4a9aa5838eeed2/02 - [Entity Framework Core]/[Entity Framework Core - Exams]/05 - [C# DB Advanced Exam - 07 April 2019]/Cinema/CinemaProfile.zip -------------------------------------------------------------------------------- /02 - [Entity Framework Core]/[Entity Framework Core - Exams]/05 - [C# DB Advanced Exam - 07 April 2019]/Cinema/Data/Configuration.cs: -------------------------------------------------------------------------------- 1 | namespace Cinema.Data 2 | { 3 | public static class Configuration 4 | { 5 | public static string ConnectionString = @"Server=.;Database=Cinema;Trusted_Connection=True"; 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /02 - [Entity Framework Core]/[Entity Framework Core - Exams]/05 - [C# DB Advanced Exam - 07 April 2019]/Cinema/Data/Models/Enums/Genre.cs: -------------------------------------------------------------------------------- 1 | namespace Cinema.Data.Models.Enums 2 | { 3 | public enum Genre 4 | { 5 | Action = 0, 6 | Drama = 1, 7 | Comedy = 2, 8 | Crime = 3, 9 | Western = 4, 10 | Romance = 5, 11 | Documentary = 6, 12 | Children = 7, 13 | Animation = 8, 14 | Musical = 9 15 | } 16 | } -------------------------------------------------------------------------------- /02 - [Entity Framework Core]/[Entity Framework Core - Exams]/06 - [C# DB Advanced Exam Retake - 18 April 2019]/01. Model Defition_Problem Description.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/georgidelchev/CSharp-Databases/66861fcb46c3554dfd4011fe7f4a9aa5838eeed2/02 - [Entity Framework Core]/[Entity Framework Core - Exams]/06 - [C# DB Advanced Exam Retake - 18 April 2019]/01. Model Defition_Problem Description.docx -------------------------------------------------------------------------------- /02 - [Entity Framework Core]/[Entity Framework Core - Exams]/06 - [C# DB Advanced Exam Retake - 18 April 2019]/01. Model Defition_Skeleton + Datasets.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/georgidelchev/CSharp-Databases/66861fcb46c3554dfd4011fe7f4a9aa5838eeed2/02 - [Entity Framework Core]/[Entity Framework Core - Exams]/06 - [C# DB Advanced Exam Retake - 18 April 2019]/01. Model Defition_Skeleton + Datasets.zip -------------------------------------------------------------------------------- /02 - [Entity Framework Core]/[Entity Framework Core - Exams]/06 - [C# DB Advanced Exam Retake - 18 April 2019]/MusicHub/Data/Configuration.cs: -------------------------------------------------------------------------------- 1 | namespace MusicHub.Data 2 | { 3 | public static class Configuration 4 | { 5 | public static string ConnectionString = 6 | @"Server=.;Database=MusicHub;Trusted_Connection=True"; 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /02 - [Entity Framework Core]/[Entity Framework Core - Exams]/06 - [C# DB Advanced Exam Retake - 18 April 2019]/MusicHub/Data/Models/Enums/Genre.cs: -------------------------------------------------------------------------------- 1 | namespace MusicHub.Data.Models.Enums 2 | { 3 | public enum Genre 4 | { 5 | Blues = 0, 6 | Rap = 1, 7 | PopMusic = 2, 8 | Rock = 3, 9 | Jazz = 4 10 | } 11 | } -------------------------------------------------------------------------------- /02 - [Entity Framework Core]/[Entity Framework Core - Exams]/06 - [C# DB Advanced Exam Retake - 18 April 2019]/MusicHub/MusicHubProfile.cs: -------------------------------------------------------------------------------- 1 | using AutoMapper; 2 | 3 | namespace MusicHub 4 | { 5 | public class MusicHubProfile : Profile 6 | { 7 | // Configure your AutoMapper here if you wish to use it. If not, DO NOT DELETE THIS CLASS 8 | public MusicHubProfile() 9 | { 10 | } 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /02 - [Entity Framework Core]/[Entity Framework Core - Exams]/07 - [C# DB Advanced Exam - 10 December 2017]/01. Model Definition_Datasets.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/georgidelchev/CSharp-Databases/66861fcb46c3554dfd4011fe7f4a9aa5838eeed2/02 - [Entity Framework Core]/[Entity Framework Core - Exams]/07 - [C# DB Advanced Exam - 10 December 2017]/01. Model Definition_Datasets.zip -------------------------------------------------------------------------------- /02 - [Entity Framework Core]/[Entity Framework Core - Exams]/07 - [C# DB Advanced Exam - 10 December 2017]/01. Model Definition_Problem Description (2).docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/georgidelchev/CSharp-Databases/66861fcb46c3554dfd4011fe7f4a9aa5838eeed2/02 - [Entity Framework Core]/[Entity Framework Core - Exams]/07 - [C# DB Advanced Exam - 10 December 2017]/01. Model Definition_Problem Description (2).docx -------------------------------------------------------------------------------- /02 - [Entity Framework Core]/[Entity Framework Core - Exams]/07 - [C# DB Advanced Exam - 10 December 2017]/01. Model Definition_Project Skeleton.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/georgidelchev/CSharp-Databases/66861fcb46c3554dfd4011fe7f4a9aa5838eeed2/02 - [Entity Framework Core]/[Entity Framework Core - Exams]/07 - [C# DB Advanced Exam - 10 December 2017]/01. Model Definition_Project Skeleton.zip -------------------------------------------------------------------------------- /02 - [Entity Framework Core]/[Entity Framework Core - Exams]/07 - [C# DB Advanced Exam - 10 December 2017]/FastFood.App/FastFoodProfile.cs: -------------------------------------------------------------------------------- 1 | using AutoMapper; 2 | 3 | namespace FastFood.App 4 | { 5 | public class FastFoodProfile : Profile 6 | { 7 | // Configure your AutoMapper here if you wish to use it. If not, DO NOT DELETE THIS CLASS 8 | public FastFoodProfile() 9 | { 10 | } 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /02 - [Entity Framework Core]/[Entity Framework Core - Exams]/07 - [C# DB Advanced Exam - 10 December 2017]/FastFood.Data/Configuration.cs: -------------------------------------------------------------------------------- 1 | namespace FastFood.Data 2 | { 3 | public static class Configuration 4 | { 5 | public static string ConnectionString = @"Server=.;Database=FastFood;Trusted_Connection=True"; 6 | } 7 | } -------------------------------------------------------------------------------- /02 - [Entity Framework Core]/[Entity Framework Core - Exams]/07 - [C# DB Advanced Exam - 10 December 2017]/FastFood.Models/Enums/OrderType.cs: -------------------------------------------------------------------------------- 1 | namespace FastFood.Models.Enums 2 | { 3 | public enum OrderType 4 | { 5 | ForHere = 0, 6 | ToGo = 1 7 | } 8 | } -------------------------------------------------------------------------------- /02 - [Entity Framework Core]/[Entity Framework Core - Exams]/07 - [C# DB Advanced Exam - 10 December 2017]/FastFood.Models/FastFood.Models.csproj: -------------------------------------------------------------------------------- 1 |