New to Telerik UI for ASP.NET AJAX? Start a free 30-day trial

This abstract class defines the DbSchedulerProviderBase that inherits SchedulerProviderBase.

Definition

Constructors

C#
protected DbSchedulerProviderBase()

Properties

Gets or sets the connection string.

C#
public virtual string ConnectionString { get; set; }
Property Value:

The connection string.

Gets or sets the db factory.

C#
public virtual DbProviderFactory DbFactory { get; set; }
Property Value:

The db factory.

Gets or sets the persist changes.

C#
public virtual bool PersistChanges { get; set; }
Property Value:

The persist changes.

Methods

C#
protected virtual DbParameter CreateParameter(string name, object value)
Parameters:namestringvalueobjectReturns:

DbParameter

Initializes the provider.

C#
public override void Initialize(string name, NameValueCollection config)
Parameters:namestring

The friendly name of the provider.

configNameValueCollection

A collection of the name/value pairs representing the provider-specific attributes specified in the configuration for this provider.

Exceptions: ArgumentNullException

The name of the provider is null.

ArgumentException

The name of the provider has a length of zero.

InvalidOperationException

An attempt is made to call Initialize(string, NameValueCollection) on a provider after the provider has already been initialized.

Overrides: ProviderBase.Initialize(string, NameValueCollection)

C#
protected virtual DbConnection OpenConnection()
Returns:

DbConnection