Devart.Data.FreshBooks.EFCore 2.3.190.9

Prefix Reserved
dotnet add package Devart.Data.FreshBooks.EFCore --version 2.3.190.9                
NuGet\Install-Package Devart.Data.FreshBooks.EFCore -Version 2.3.190.9                
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="Devart.Data.FreshBooks.EFCore" Version="2.3.190.9" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Devart.Data.FreshBooks.EFCore --version 2.3.190.9                
#r "nuget: Devart.Data.FreshBooks.EFCore, 2.3.190.9"                
#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 Devart.Data.FreshBooks.EFCore as a Cake Addin
#addin nuget:?package=Devart.Data.FreshBooks.EFCore&version=2.3.190.9

// Install Devart.Data.FreshBooks.EFCore as a Cake Tool
#tool nuget:?package=Devart.Data.FreshBooks.EFCore&version=2.3.190.9                

dotConnect for FreshBooks

dotConnect for FreshBooks is an ADO.NET provider for working with FreshBooks data through the standard ADO.NET or Entity Framework interfaces. It allows you to easily integrate FreshBooks data into your .NET applications, and integrate FreshBooks services with widely used data-oriented technologies.

The provider works with .NET Frameworks 4.5+, .NET Core 2.0+, .NET 5+. The product is compatible with ADO.NET Entity Framework (EF) Core.

It has the same standard ADO.NET classes as other standard ADO.NET providers: FreshBooksConnection, FreshBooksCommand, FreshBooksDataAdapter, FreshBooksDataReader, FreshBooksParameter, etc. This allows you quickly get started with it and eliminates the need to study any FreshBooks data access specificities.

More information at dotConnect for FreshBooks.

Compatibility


The following table show which version of this package to use with which version of frameworks.

Frameworks Version support
Entity Framework Core 9
.NET 9, 8

More information here

Installation


For projects, using Entity Framework Core 9 with FreshBooks, install this package. Execute the following command in the Package Manager Console:

Install-Package Devart.Data.FreshBooks.EFCore

License

See pricing options for ordering.

To activate your license, please download dotConnect for FreshBooks from our website. This installer generates the trial key files required for using this package on a trial basis.

Usage


This snippet directly configures a FreshBooksConnection class for an Entity Framework Core DbContext using a connection string.

public class MyDbContext : DbContext {
 
  protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder) {

     optionsBuilder.UseFreshBooks(@"APIVersion=Alpha;AccessToken=***********;RefreshToken=***********;CompanyName=Test");
  } 
}

Configuration Using FreshBooksConnection Instance

using Devart.Data.FreshBooks;
...

public class MyDbContext : DbContext {
 
  protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder) {

     var connection = new FreshBooksConnection();
     connection.APIVersion = "Alpha";
     connection.AccessToken = "***********";
     connection.RefreshToken = "***********";
     optionsBuilder.UseFreshBooks(connection);
  } 
}
ASP.NET Core and Blazor

Configuration File (appsettings.json):

{
  "ConnectionStrings": {
    "DefaultConnection": "APIVersion=Alpha;AccessToken=***********;RefreshToken=***********;CompanyName=Test"
   }
}

DbContext Configuration:

public class MyDbContext : DbContext {
 
  protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder) {

    IConfigurationBuilder builder = new ConfigurationBuilder().AddJsonFile("appsettings.json");
    IConfiguration configuration = builder.Build();
    optionsBuilder.UseFreshBooks(configuration.GetConnectionString("DefaultConnection"));
  } 
}

Key Features

  • Easy Connection: Allows your .NET application to work with FreshBooks data.
  • SQL Engine: No need to study and use complex FreshBooks API, just use familiar SQL statements. You may use complex JOINs, WHERE conditions, etc. - all the SQL benefits, not available with FreshBooks API.
  • Support and Updates: Enjoy dedicated support team for prompt issue resolution and regular updates to keep your software running smoothly and securely.

Support Area

More Resources

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. 
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
2.3.190.9 83 12/27/2024
2.3.190.8 70 12/27/2024
2.3.190.7 73 12/27/2024
2.3.190 85 12/27/2024
2.2.115.8 104 11/8/2024
2.2.115.7 89 11/8/2024
2.2.115 91 11/8/2024
2.2.21.8 115 6/6/2024
2.2.21.7 113 6/6/2024
2.2.21 103 6/6/2024
2.2.20.8 113 5/30/2024
2.2.20.7 111 5/30/2024
2.2.20 120 5/30/2024
2.1.10.8 159 1/18/2024
2.1.10.7 113 1/18/2024
2.1.10 111 1/18/2024
2.0.0.7 220 11/17/2023
2.0.0 138 11/17/2023