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.
C# aspnet-corecsharpdockerdotnetecommerceecommerce-platformmongodbmulti-storemulti-vendornosqlonline-shopshoppingcart
namespace Grand.Data;
/// <summary>
/// Data settings (connection string information)
/// </summary>
public class DataSettings
{
/// <summary>
/// Connection string
/// </summary>
public string ConnectionString { get; set; }
/// <summary>
/// Database type
/// </summary>
public DbProvider DbProvider { get; set; }
public bool IsValid()
{
return !string.IsNullOrEmpty(ConnectionString);
}
}