Franz.Common.EntityFramework.SQLServer 1.2.62

dotnet add package Franz.Common.EntityFramework.SQLServer --version 1.2.62                
NuGet\Install-Package Franz.Common.EntityFramework.SQLServer -Version 1.2.62                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Franz.Common.EntityFramework.SQLServer" Version="1.2.62" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Franz.Common.EntityFramework.SQLServer --version 1.2.62                
#r "nuget: Franz.Common.EntityFramework.SQLServer, 1.2.62"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Franz.Common.EntityFramework.SQLServer as a Cake Addin
#addin nuget:?package=Franz.Common.EntityFramework.SQLServer&version=1.2.62

// Install Franz.Common.EntityFramework.SQLServer as a Cake Tool
#tool nuget:?package=Franz.Common.EntityFramework.SQLServer&version=1.2.62                

Franz.Common.EntityFramework.SQLServer

A private utility library for seamless integration of Entity Framework Core with SQL Server, designed as part of the Franz Framework ecosystem. This package is versioned as 1.2.62 and is hosted exclusively on a private Azure NuGet feed.


Features

  • SQL Server Integration:
    • Simplifies configuration and usage of Microsoft.EntityFrameworkCore.SqlServer.
  • Dependency Injection:
    • Provides ServiceCollectionExtensions for easy registration of SQL Server services.
  • SSL Enforcement:
    • Includes the SslEnforcement enum to handle SQL Server SSL configuration.
  • Multi-Tenancy Support:
    • Integrates with Franz.Common.MultiTenancy to streamline tenant-based setups.
  • Part of Franz Framework:
    • Works seamlessly with other Franz libraries, including Franz.Common.EntityFramework and Franz.Common.MultiTenancy.

Version Information

  • Current Version: 1.2.62
  • This package and all related Franz packages are under active development and maintained privately.

Installation

Since this package is hosted on a private Azure NuGet feed, configure your NuGet client to access the feed before installing.

Step 1: Add the Private Azure Feed

Add the private feed to your NuGet configuration by running:

dotnet nuget add source "https://your-private-feed-url" \
  --name "AzurePrivateFeed" \
  --username "YourAzureUsername" \
  --password "YourAzurePassword" \
  --store-password-in-clear-text

Step 2: Install the Package

Install the package via the .NET CLI:

dotnet add package Franz.Common.EntityFramework.SQLServer --version 1.2.62

Usage

1. Configure SQL Server for Entity Framework Core

Use the provided ServiceCollectionExtensions to streamline the setup:

using Franz.Common.EntityFramework.SQLServer;

public void ConfigureServices(IServiceCollection services)
{
    services.AddSqlServerDatabase("YourConnectionString");
}

2. Enable Multi-Tenancy

Easily configure multi-tenancy when using Franz.Common.MultiTenancy:

services.AddTenantSupport();

3. Enforce SSL Settings

Use the SslEnforcement enum to configure SSL options for SQL Server connections:

using Franz.Common.EntityFramework.SQLServer.Enums;

SslEnforcement sslOption = SslEnforcement.Required;

Dependencies

This package is built to work with the following Franz Framework packages (all versioned 1.2.62):

  • Franz.Common.EntityFramework
  • Franz.Common.MultiTenancy

Make sure to install them from your private Azure feed as needed.


Development Note

This library is part of the Franz Framework, a privately developed and maintained suite of libraries. It is currently not available on NuGet.org but is hosted on a private Azure feed for internal use and development purposes.


Contributing

Contributions are restricted to the internal development team. If you have access to the private repository, follow these steps:

  1. Clone the repository.
  2. Create a feature branch for your updates.
  3. Submit a pull request for review.

License

This library is part of a private framework and subject to internal licensing terms. Contact the author for more details.


Changelog

Version 1.2.62

  • Initial release with:
    • SQL Server integration via Entity Framework Core.
    • Multi-tenancy support.
    • SSL enforcement enum and extensions.
Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.2.62 45 1/8/2025