Skip to main content
.NETFramework4.5.NETFramework4.6.2.NETStandard2.0.NETStandard2.1

This package includes a T4 template to generate data models for Oracle database and references to the linq2db and odp.net.managed nugets. Oracle data provider for .NET will still need to be installed on the production or development machine in order to connect to Oracle.

Published
Apr 29, 2022
4y ago
Total Downloads
626.7K
626,724

Deprecated Package Version

Reason: Legacy

Substituted by linq2db.Oracle package

Suggested alternative:linq2db.Oracle*

Install

dotnet add package linq2db.Oracle.Managed --version 4.0.0-rc.1
ProductVersions
.NET Standard
netstandard2.0netstandard2.1
Other
.NETFramework4.5.NETFramework4.6.2

README

LINQ to DB

License Follow @linq2db

Starting from version 4 we obsolete T4 nugets in favor of new command-line scaffolding tool: linq2db.cli. Consider migration as we don't plan to introduce new features and fixes to T4 functionality.

This nuget package contains database scaffolding T4 templates to generate POCO classes from your database.

You can read about T4 templates options here. Demonstration video could be found here.

Important

Don't use this package if you don't need database scaffolding functionality. Instead of this package, use:

  1. main linq2db package
  2. database provider nuget (see list of supported providers below)

Supported database providers

Obsoletion Note

T4 templates will be obsoleted in Linq To DB 4.0.0 and replaced with new scaffolding utility.

There are multiple reasons for it:

  • T4 templates doesn't work well outside of Visual Studio. MacOS/Linux users or users of alternate IDEs could face serious issues trying to use T4 templates.
  • T4 templates executed using .NET Framework by Visual Studio, which also creates issues for non-Windows users.
  • T4 host use x86 process for Visual Studio 2019- and x64 process for Visual Studio 2022+. This creates issues with native providers as they are platform-dependent (ODBC and OleDb providers, various native ADO.NET providers).
  • It's very hard to maintain big code generation framework, written in T4 templates.

Those are just several most major issues current T4 templates have.

Changes from Previous Version

v4.0.0-preview.10v4.0.0-rc.1
Removed Frameworks
.NETCoreApp2.1.NETCoreApp3.1
Removed Dependencies
linq2db(.NETCoreApp2.1)
linq2db(.NETCoreApp3.1)

Adoption Assessment

A verified publisher signal is available. Assess fit from the package's supported frameworks, license and dependency graph rather than popularity alone.

This version is marked prerelease. Validate its API and upgrade path before production use.NuGet marks this package as deprecated and points to linq2db.Oracle as an alternative.No SPDX license expression is published. Review the license text and your organisation's policy before redistribution.Compatibility metadata lists 4 target frameworks; confirm the exact target used by your application.

Related Guides & Workflows

Learn how to evaluate, integrate, or audit this package in your .NET project.