Table of Contents

Class FormSetting

Namespace
Dynamicweb.DataManagement
Assembly
Dynamicweb.DataManagement.dll

Represents form settings

public class FormSetting : DbObject
Inheritance
FormSetting
Inherited Members

Constructors

FormSetting()

Default constructor

public FormSetting()

Properties

Fields

public FormFieldCollection Fields { get; set; }

Property Value

FormFieldCollection

Name

public string Name { get; set; }

Property Value

string

Type

public FormSetting.FormType Type { get; set; }

Property Value

FormSetting.FormType

View

public ViewSetting View { get; set; }

Property Value

ViewSetting

Methods

Delete(int)

Deetes form field specified by id

public override void Delete(int id)

Parameters

id int

ID of field to be deleted

Fill(IDataReader)

Fills current object with data of DataReader

public override void Fill(IDataReader dataReader)

Parameters

dataReader IDataReader

FillRow(DataRow)

Fills row with current object data

protected override void FillRow(DataRow row)

Parameters

row DataRow

DataRow object

GetFormSettingById(int)

Gets FormSetting specified by ID

public static FormSetting GetFormSettingById(int id)

Parameters

id int

ID of form setting

Returns

FormSetting

FormSetting object

GetFormSettings()

Gets all FormSettings

public static FormSettingCollection GetFormSettings()

Returns

FormSettingCollection

Collection of FormSettings

GetFormSettingsBySql(string)

Gets form settings using sql command

public static FormSettingCollection GetFormSettingsBySql(string sqlCommandText)

Parameters

sqlCommandText string

Sql command text

Returns

FormSettingCollection

Collection of form settings

Save()

Saves form settings

public override void Save()
To top