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
Name
public string Name { get; set; }
Property Value
Type
public FormSetting.FormType Type { get; set; }
Property Value
View
public ViewSetting View { get; set; }
Property Value
Methods
Delete(int)
Deetes form field specified by id
public override void Delete(int id)
Parameters
id
intID 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
DataRowDataRow object
GetFormSettingById(int)
Gets FormSetting specified by ID
public static FormSetting GetFormSettingById(int id)
Parameters
id
intID 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
stringSql command text
Returns
- FormSettingCollection
Collection of form settings
Save()
Saves form settings
public override void Save()