[]
        
(Showing Draft Content)

C1.AdoNet.OData.C1ODataConnectionStringBuilder

C1ODataConnectionStringBuilder Class

Exposes individual properties for setting up a connection to be used by a C1ODataConnection.

Namespace: C1.AdoNet.OData
Assembly: C1.AdoNet.OData.dll
Syntax
public sealed class C1ODataConnectionStringBuilder : C1OAuthConnectionStringBuilder, IDictionary, ICollection, IEnumerable, ICustomTypeDescriptor, IExtendedConnectionStringBuilder

Constructors

Name Description
C1ODataConnectionStringBuilder()

The default constructor of C1ODataConnectionStringBuilder.

Properties

Name Description
AuthenticationType

The type of authorization the request will utilize.

this[string]

Gets or sets the value associated with the specified key.

ODataVersion

The OData version.

ServerTimeZone

The OData server time zone.

SupportGroupBy

Holds the value true or false if Group by is a supported operation or not on the server-side

SupportLimit

Holds the value true or false if Limit by is a supported operation or not on the server-side

SupportOrderBy

Holds the value true or false if Order by is a supported operation or not on the server-side

SupportedOperations

This property can be used to hold a string that has all the supported operations

Url

The base URL of OData server.

UseDynamicType

This property can be used to specified or retrieve whether or not, dynamic type is considered.

UseEtag

This property can be used to specified or retrieve whether or not, Etag is considered. Default is false.

Methods

Name Description
Equals(object)

Checks if two instances of C1ODataConnectionStringBuilder can be considered equal, for caching and pooling purposes.

GetHashCode()

Retrieves the mapped hash code of this C1ODataConnectionStringBuilder.

SeparateSupportedOperations(string)

A method used to separate the string that holds the supported operations