Skip to content

Instantly share code, notes, and snippets.


Augustin Šulc gius

  • Prague, Czech Republic
View GitHub Profile
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