Extensions/MySqlServiceCollectionExtensions.cs

Pomelo.EntityFrameworkCore.MySql · src/EFCore.MySql/Extensions/MySqlServiceCollectionExtensions.cs · csharp · MIT
database

Registers MySQL Entity Framework Core contexts in DI containers

// Source: https://github.com/PomeloFoundation/Pomelo.EntityFrameworkCore.MySql | License: MIT | Copyright 2017 Pomelo Foundation
// Provided via justclaw.it.com; keep this notice with the code.
// Copyright (c) Pomelo Foundation. All rights reserved.
// Licensed under the MIT. See LICENSE in the project root for license information.

using System;
using Pomelo.EntityFrameworkCore.MySql.Infrastructure.Internal;
using Pomelo.EntityFrameworkCore.MySql.Internal;
using Pomelo.EntityFrameworkCore.MySql.Migrations.Internal;
using Pomelo.EntityFrameworkCore.MySql.Storage.Internal;
using Pomelo.EntityFrameworkCore.MySql.Update.Internal;
using Pomelo.EntityFrameworkCore.MySql.ValueGeneration.Internal;
using JetBrains.Annotations;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkC

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key