Skip to content

Open-source eCommerce platform for C# and ASP.NET Core 10 with MongoDB. Build multi-store shops and multi-vendor marketplaces with B2B/B2C, REST API, plugins, Vue 3 and Docker.

347 B
Raw Blame
using Grand.SharedKernel;
using LiteDB;

namespace Grand.Data.LiteDb;

public class LiteDBStartupBase : IStartupBase
{
    public int Priority => 0;

    public void Execute()
    {
        BsonMapper.Global.EmptyStringToNull = false;
        BsonMapper.Global.SerializeNullValues = true;
        BsonMapper.Global.EnumAsInteger = true;
    }
}