Table of Contents

Class DMConnectionData

Namespace
Dynamicweb.DataManagement
Assembly
Dynamicweb.DataManagement.dll

Connection data-provider interface.

[Serializable]
public abstract class DMConnectionData
Inheritance
DMConnectionData
Derived
Inherited Members

Methods

CriteriaToNativeQuery(Criteria)

Convert criteria to native string, represents this query.

public abstract string CriteriaToNativeQuery(Criteria criteria)

Parameters

criteria Criteria

Returns

string

native query string

GetCriteriaVariables(Criteria)

Retrieve list of variables in criteria.

public abstract IEnumerable<QueryVariable> GetCriteriaVariables(Criteria criteria)

Parameters

criteria Criteria

Returns

IEnumerable<QueryVariable>

InsertTableRow(string, FieldCollection)

Insert new row to specified table.

public abstract bool InsertTableRow(string tableName, FieldCollection fields)

Parameters

tableName string

table to insert new row

fields FieldCollection

fields with values

Returns

bool

true, if inserted

SelectQuery(Criteria, IEnumerable<QueryVariable>)

Query data using criteria.

public abstract DataTable SelectQuery(Criteria criteria, IEnumerable<QueryVariable> variables)

Parameters

criteria Criteria

criteria

variables IEnumerable<QueryVariable>

variables

Returns

DataTable

data table

UpdateTableRow(string, FieldCollection)

Update row in specified table.

public abstract bool UpdateTableRow(string tableName, FieldCollection fields)

Parameters

tableName string

name of the table

fields FieldCollection

fields with values to update

Returns

bool

true, if updated

To top