ADO.NET Provider for FreshBooks with Entity Framework Support

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.

dotConnect for FreshBooks 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.

Work with FreshBooks Data Easily

dotConnect for FreshBooks makes it simple to create .NET applications, working with FreshBooks data. It offers standard ADO.NET interface, and thus it's easy to master it. It's powerful design-time editors together with seamless Visual Studio integration allow you to work with FreshBooks data with less efforts and less code writing. See how easy it is with dotConnect for FreshBooks.

Connecting to FreshBooks from Server Explorer

To create a Server Explorer connection, you just need to:

  1. Click Connect to Database on the Server Explorer toolbar
  2. Change Data Source to FreshBooks Data Source
  3. Specify the login url to the data source, your FreshBooks user id and password

That's all, now you can work with FreshBooks data right in Visual Studio - select data from FreshBooks entities and edit it.

 

 

FreshBooks Data Binding

  • Build your data access layer without writing code manually
  • Configure dotConnect for FreshBooks components in powerful design-time editors
  • Bind data grids and other controls to FreshBooks data just by configuring the smart tags
  • Work with FreshBooks data just like with a database

 

Power of SQL

SELECT

INSERT

UPDATE

DELETE

dotConnect for FreshBooks allows you to perform SQL queries against your FreshBooks data. Use SQL statements to work with FreshBooks accounts, contacts, leads, contracts, products, campaigns opportunities, and other objects.

Our provider offers full CRUD (Create, Read, Update, and Delete) support and allows you to get FreshBooks data with SELECT statements and manage data with INSERT, UPDATE, and DELETE statements.

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.

Entity Framework Support

dotConnect for FreshBooks allows you to access FreshBooks data via Entity Framework - Microsoft's recommended data access technology. It supports Entity Framework v4, v5, v6, and Entity Framework Core, and enables you to use the following Entity Framework features with FreshBooks data:

  • LINQ to Entities (no need for FreshBooks API)
  • Entity relations with lazy/eager loading
  • No need to post each edited/created object separately - a single SaveChanges() call to persist all the changed objects

dotConnect for FreshBooks provides enhanced Entity Framework support for FreshBooks data with a bundled visual designer for ORM models with Visual Studio integration - Entity Developer. Standard Visual Studio Entity Data Model designer is also supported.

How it Works

 

dotConnect for FreshBooks offers powerful local SQL engine for SELECT statement execution. It executes SQL statements in the following way:

Simple SQL statements are translated to FreshBooks API calls and executed on the FreshBooks side directly. However, dotConnect for FreshBooks also supports more advanced SQL features, such as SQL functions or expressions, complex WHERE conditions, joins, etc.

If you use these more advanced SQL features, dotConnect for FreshBooks queries all the data from the objects that participate in the query, and executes the statement locally.

How to Start

dotConnect for FreshBooks has a detailed documentation that can help you quickly get started with our product. Read our tutorials first:

Connect

Connecting to FreshBooks

This tutorial describes how to connect to FreshBooks either from Visual Studio Server Explorer or from application code via FreshBooksConnection.

Read Tutorial

Retrieve

Retrieving FreshBooks Data

This tutorial describes how to get FreshBooks data with FreshBooksCommand and FreshBooksDataReader or with FreshBooksDataAdapter.

Read Tutorial

Update

Updating FreshBooks Data

This tutorial describes how to manage FreshBooks data with SQL and the FreshBooksCommand class or with the FreshBooksDataAdapter class.

Read Tutorial

Customer Loyalty Program

You can get a significant discount, and even a free license, by spreading a word about dotConnect for FreshBooks.

Devart High Five Program for dotConnect for FreshBooks