Send feedback on this topic.
Teradata.Client.Provider
Teradata Implementation Specifics
.NET Data Provider for Teradata > Developer's Guide > Teradata Entity Framework Core Provider > Teradata Implementation Specifics
.NET Framework  This feature is not supported by the .NET Framework implementation of the Data Provider.

As discussed in the Overview, Entity Framework Core works with the EFCore Provider to interpret the LINQ to Entities queries and other Entity Framework Core features contained in an application to SQL statements compatible with the Teradata SQL Engine. The EFCore Provider uses the Data Provider to communicate with the SQL Engine. In order to use the EFCore Provider, an application must do the following:

Most methods implemented by the EFCore Provider are implemented in the Microsoft.EntityFrameworkCore namespace. The DbFunctions extensions accessible via the EF.Functions class are implemented in the Teradata.EntityFrameworkCore namespace.

Context Configuration

The DbContextOptionsBuilder extension UseTeradata is provided to configure the context to connect to a Teradata SQL Engine. See the Example for details.

Model Configuration

The following ModelBuilder extensions are provided to configure the model:

The following ModelBuilder extensions are provided to configure the default database object in which the model may be stored:

The following ModelBuilder extensions are provided to configure any schema objects in which the model may be stored:

Entity Configuration

The following EntityTypeBuilder extensions are provided to configure the entities:

Property Configuration

The following PropertyBuilder extensions are provided to enable functionality specific to the Teradata SQL Engine:

Spatial Data

Support for Spatial Data is provided via a separate NuGet package Teradata.EntityFrameworkCore.NetTopologySuite. It provides the following TeradataDbContextOptionsBuilder extension:

In This Section

Data Type Mappings

CLR Methods and Properties and LINQ to Entities Functions

Teradata SQL Engine Functions

NetTopologySuite Translated Operations