Table of Contents

Class Publishing

Namespace
Dynamicweb.DataManagement
Assembly
Dynamicweb.DataManagement.dll

Publishing class

public class Publishing : DbObject
Inheritance
Publishing
Inherited Members

Constructors

Publishing()

Default constructor

public Publishing()

Properties

DetailFilter

public string DetailFilter { get; set; }

Property Value

string

DetailLayout

public string DetailLayout { get; set; }

Property Value

string

DetailStyle

public string DetailStyle { get; set; }

Property Value

string

DetailTemplate

public string DetailTemplate { get; set; }

Property Value

string

IncludeTime

public bool IncludeTime { get; set; }

Property Value

bool

ListFilter

public string ListFilter { get; set; }

Property Value

string

ListLayout

public string ListLayout { get; set; }

Property Value

string

ListStyle

public string ListStyle { get; set; }

Property Value

string

ListTemplate

public string ListTemplate { get; set; }

Property Value

string

Name

public string Name { get; set; }

Property Value

string

ShowDetails

public bool ShowDetails { get; set; }

Property Value

bool

ShowHeadings

public bool ShowHeadings { get; set; }

Property Value

bool

Sortable

public bool Sortable { get; set; }

Property Value

bool

Type

public PublishingType Type { get; set; }

Property Value

PublishingType

View

public ViewSetting View { get; set; }

Property Value

ViewSetting

ViewID

public int ViewID { get; set; }

Property Value

int

XsltFile

public string XsltFile { get; set; }

Property Value

string

Methods

Fill(IDataReader)

Fills current object with dataReader data

public override void Fill(IDataReader dataReader)

Parameters

dataReader IDataReader

DataReader object

FillRow(DataRow)

Override the FillRow method to map all the properties values to their respective field on the datarow. Used when the object is being saved.

protected override void FillRow(DataRow row)

Parameters

row DataRow

The datarow to fill with data.

GetPublishingById(int)

Gets publishing by identifier

public static Publishing GetPublishingById(int id)

Parameters

id int

Identifier

Returns

Publishing

Publishing object

GetPublishings()

Gets all publishings of all available connection types

public static PublishingCollection GetPublishings()

Returns

PublishingCollection

Collection of publishings

GetPublishings(int)

Gets all publishings by viewID

public static PublishingCollection GetPublishings(int viewID)

Parameters

viewID int

View identifier

Returns

PublishingCollection

Collection of publisings

GetPublishingsBySql(string)

Gets publishing collection using sql commnd text

public static PublishingCollection GetPublishingsBySql(string sqlCommandText)

Parameters

sqlCommandText string

Text of sql command

Returns

PublishingCollection

Collection of publishings

GetXMLOutput()

Buildes xml representation of current object view

public string GetXMLOutput()

Returns

string

String value

To top