Extensions/MySqlJsonNewtonsoftDbContextOptionsBuilderExtensions.cs

Pomelo.EntityFrameworkCore.MySql · src/EFCore.MySql.Json.Newtonsoft/Extensions/MySqlJsonNewtonsoftDbContextOptionsBuilderExtensions.cs · csharp · MIT
database

Enables Newtonsoft.Json for MySQL JSON columns in EF Core.

// 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.ComponentModel;
using JetBrains.Annotations;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Pomelo.EntityFrameworkCore.MySql.Json.Newtonsoft.Infrastructure.Internal;
using Microsoft.EntityFrameworkCore.Utilities;
using Pomelo.EntityFrameworkCore.MySql.Storage.Internal;

// ReSharper disable once CheckNamespace
namespace Microsoft.EntityFrameworkCore
{
    /// <summary>
    ///     Json specific extension methods for <see cref="MySqlDbC

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

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

Get a free API key