dotConnect for FreshBooks Documentation
Devart.Data.FreshBooks Namespace / FreshBooksConnectionStringBuilder Class
Properties Methods

In This Topic
    FreshBooksConnectionStringBuilder Class Members
    In This Topic

    The following tables list the members exposed by FreshBooksConnectionStringBuilder.

    Public Constructors
     NameDescription
    Public ConstructorOverloaded. Initializes a new instance of the FreshBooksConnectionStringBuilder class.  
    Top
    Public Properties
     NameDescription
    Public PropertyGets or sets the OAuth access token for FreshBooks. This parameter is used for connecting via Alpha API. Note that this token expires after 12 hours and is refreshed automatically, using RefreshToken.  
    Public PropertyGets or sets the FreshBooks API version to use.  
    Public PropertyGets or sets the automatically generated key that is used for connecting to FreshBooks.  
    Public PropertyGets or sets the client id, obtained from the app settings in your developer FreshBooks account. This parameter is used for connecting via Alpha API.  
    Public PropertyGets or sets the client secret, obtained from the app settings in your developer FreshBooks account. This parameter is used for connecting via Alpha API.  
    Public PropertyGets or sets the name of the company to data of which to connect. This parameter is used for connecting via Alpha API.  
    Public PropertyGets or sets time span in seconds for connection to live. (Inherited from Devart.Data.SqlShimConnectionStringBuilder)
    Public PropertyGets or sets the connection string associated with the System.Data.Common.DbConnectionStringBuilder. (Inherited from System.Data.Common.DbConnectionStringBuilder)
    Public PropertyGets or sets the time to wait while trying to establish a connection before terminating the attempt and generating an error. (Inherited from Devart.Data.SqlShimConnectionStringBuilder)
    Public PropertyGets the current number of keys that are contained within the System.Data.Common.DbConnectionStringBuilder.ConnectionString property. (Inherited from System.Data.Common.DbConnectionStringBuilder)
    Public PropertyGets or sets the time in seconds to wait while trying to execute a command before terminating the attempt and generating an error. (Inherited from Devart.Data.SqlShimConnectionStringBuilder)
    Public PropertyGets or sets the number of retry attempts to re-run a command in case when the command failed because of an exception, that indicates that the reason of the failure may be temporary. (Inherited from Devart.Data.SqlShimConnectionStringBuilder)
    Public PropertyDetermines whether to treat date values as dates in the timezone, specified in the FreshBooks company profile. This parameter is deprecated, and it is not used for new FreshBooks API.  
    Public PropertyDetermines whether to include deleted records to returned data. Not all FreshBooks objects support returning of deleted records.  
    Public PropertySpecifies a data source-specific command that should be executed immediately after establishing the connection. (Inherited from Devart.Common.DbConnectionStringBuilder)
    Public PropertyReturns true. (Inherited from Devart.Data.SqlShimConnectionStringBuilder)
    Public PropertyGets a value that indicates whether the System.Data.Common.DbConnectionStringBuilder is read-only. (Inherited from System.Data.Common.DbConnectionStringBuilder)
    Public PropertyReturns the value of given key. (Inherited from Devart.Data.SqlShimConnectionStringBuilder)
    Public PropertyCollection of keys in the Devart.Data.SqlShimConnectionStringBuilder. (Inherited from Devart.Data.SqlShimConnectionStringBuilder)
    Public PropertyDetermines whether to use local SQL engine for SELECT queries, that are too complex to translate them directly to FreshBooks API calls or to throw an exception. (Inherited from Devart.Data.SqlShimConnectionStringBuilder)
    Public PropertyThe maximum number of connections allowed in the pool. (Inherited from Devart.Data.SqlShimConnectionStringBuilder)
    Public PropertyThe minimum number of connections allowed in the pool. (Inherited from Devart.Data.SqlShimConnectionStringBuilder)
    Public Property (Inherited from Devart.Data.SqlShimConnectionStringBuilder)
    Public PropertyGets or sets the path to a file, where to store FreshBooks Access and Refresh Tokens between sessions in order to avoid the need to re-authorize the application. This parameter is used for connecting via Alpha API.  
    Public PropertyGets or sets a value indicating whether password is stored in connection string after connection is opened. (Inherited from Devart.Data.SqlShimConnectionStringBuilder)
    Public PropertyGets or sets pooling mode. (Inherited from Devart.Data.SqlShimConnectionStringBuilder)
    Public PropertyGets or sets the host name or IP address of the proxy server to which to connect. (Inherited from Devart.Data.SqlShimConnectionStringBuilder)
    Public PropertyGets or sets the password for the proxy server account. (Inherited from Devart.Data.SqlShimConnectionStringBuilder)
    Public PropertyGets or sets the port number of the proxy server. (Inherited from Devart.Data.SqlShimConnectionStringBuilder)
    Public PropertyGets or sets the proxy server account name. (Inherited from Devart.Data.SqlShimConnectionStringBuilder)
    Public PropertyGets or sets a value indicating whether the connection is read-only (allows only SELECT statements). (Inherited from Devart.Data.SqlShimConnectionStringBuilder)
    Public PropertyGets or sets the automatically generated key that is used for refreshing the AccessToken when it expires. Note that a new refresh token is generated and assigned automatically every time when the authentication token is refreshed. This parameter is used for connecting via Alpha API.  
    Public PropertySpecifies a data source-specific command that should be executed immediately after first establishing the connection. Unlike InitializationCommand, this command is not executed when a connection is taken from the pool. (Inherited from Devart.Common.DbConnectionStringBuilder)
    Public PropertyGets or sets the FreshBooks service account URL.  
    Public PropertyGets or sets the location to store OAuth 2.0 refresh tokens between sessions. This parameter is applicable only for some of the data sources that use OAuth 2.0. It is not used in dotConnect for FreshBooks. (Inherited from Devart.Data.SqlShimConnectionStringBuilder)
    Public Property (Inherited from Devart.Data.SqlShimConnectionStringBuilder)
    Public PropertyIndicates whether all the datetime values retrieved from the data source are returned as UTC values or converted to local time, and whether date values, specified on the application side (for example, in SQL statements) are considered UTC or local. (Inherited from Devart.Data.SqlShimConnectionStringBuilder)
    Public PropertyCollection of values in the Devart.Data.SqlShimConnectionStringBuilder. (Inherited from Devart.Data.SqlShimConnectionStringBuilder)
    Top
    Public Methods
     NameDescription
    Public MethodAdds an entry with the specified key and value into the System.Data.Common.DbConnectionStringBuilder. (Inherited from System.Data.Common.DbConnectionStringBuilder)
    Public MethodSets all Devart.Data.SqlShimConnectionStringBuilder properties to default values. (Inherited from Devart.Data.SqlShimConnectionStringBuilder)
    Public MethodIndicates whether specified key is set in the Devart.Data.SqlShimConnectionStringBuilder object. (Inherited from Devart.Data.SqlShimConnectionStringBuilder)
    Public MethodOverloaded. Overridden. Returns a value indicating whether this FreshBooksConnectionStringBuilder has same parameters as given DbConnectionStringBuilder.  
    Public MethodSets value of the specified key to default. (Inherited from Devart.Data.SqlShimConnectionStringBuilder)
    Public MethodDetermines whether the key will be serialized if required. (Inherited from Devart.Data.SqlShimConnectionStringBuilder)
    Public MethodReturns the connection string associated with this System.Data.Common.DbConnectionStringBuilder. (Inherited from System.Data.Common.DbConnectionStringBuilder)
    Public MethodAttempts to get a key value. (Inherited from Devart.Data.SqlShimConnectionStringBuilder)
    Top
    See Also