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
<PackageReference Include="Franz.Common.EntityFramework.SQLServer" Version="1.2.62" />
paket add Franz.Common.EntityFramework.SQLServer --version 1.2.62
#r "nuget: Franz.Common.EntityFramework.SQLServer, 1.2.62"
// 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
.
- Simplifies configuration and usage of
- Dependency Injection:
- Provides
ServiceCollectionExtensions
for easy registration of SQL Server services.
- Provides
- SSL Enforcement:
- Includes the
SslEnforcement
enum to handle SQL Server SSL configuration.
- Includes the
- Multi-Tenancy Support:
- Integrates with
Franz.Common.MultiTenancy
to streamline tenant-based setups.
- Integrates with
- Part of Franz Framework:
- Works seamlessly with other
Franz
libraries, includingFranz.Common.EntityFramework
andFranz.Common.MultiTenancy
.
- Works seamlessly with other
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:
- Clone the repository.
- Create a feature branch for your updates.
- 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 | Versions 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. |
-
net8.0
- Franz.Common.EntityFramework (>= 1.2.62)
- Franz.Common.MultiTenancy (>= 1.2.62)
- Microsoft.EntityFrameworkCore.SqlServer (>= 8.0.0)
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 |