Skip to content

Instantly share code, notes, and snippets.

Avatar

Augustin Šulc gius

  • Prague, Czech Republic
View GitHub Profile
@gius
gius / Program.cs
Last active Oct 5, 2018
EF Core + Automapper
View Program.cs
// required NuGet packages: AutoMapper (7.0.1), Microsoft.EntityFrameworkCore.SqlServer (2.1.0 and later)
using System;
using System.Collections.Generic;
using System.Linq;
using AutoMapper;
using AutoMapper.QueryableExtensions;
using Microsoft.EntityFrameworkCore;
namespace EfCoreAutomapper