Table of Contents

Class MsSqlConnectionMeta

Namespace
Dynamicweb.DataManagement
Assembly
Dynamicweb.DataManagement.dll

Represents MsSqlConnection meta info

public class MsSqlConnectionMeta : DMConnectionMeta
Inheritance
MsSqlConnectionMeta
Inherited Members

Constructors

MsSqlConnectionMeta(MsSqlConnection)

Initializes a new instance of the MsSqlConnectionMeta class.

public MsSqlConnectionMeta(MsSqlConnection connection)

Parameters

connection MsSqlConnection

The MsSqlConnection object.

Methods

AddFieldsToTable(string, FieldCollection)

Adds fields to a table.

public override bool AddFieldsToTable(string tableName, FieldCollection fields)

Parameters

tableName string

The name of the table.

fields FieldCollection

The collection of fields.

Returns

bool

True if the fields were successfully added; otherwise, false.

CreateTable(string, FieldCollection)

Creates a table.

public override bool CreateTable(string name, FieldCollection fields)

Parameters

name string

The name of the table.

fields FieldCollection

The collection of fields.

Returns

bool

True if the operation succeeded; otherwise, false.

GetTableFields(string)

Gets the fields of a table.

public override FieldCollection GetTableFields(string tableName)

Parameters

tableName string

The name of the table.

Returns

FieldCollection

The collection of fields.

GetTables()

Returns collection of all tables using information schema data

protected override TableCollection GetTables()

Returns

TableCollection

Collection of tables

To top