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
DetailLayout
public string DetailLayout { get; set; }
Property Value
DetailStyle
public string DetailStyle { get; set; }
Property Value
DetailTemplate
public string DetailTemplate { get; set; }
Property Value
IncludeTime
public bool IncludeTime { get; set; }
Property Value
ListFilter
public string ListFilter { get; set; }
Property Value
ListLayout
public string ListLayout { get; set; }
Property Value
ListStyle
public string ListStyle { get; set; }
Property Value
ListTemplate
public string ListTemplate { get; set; }
Property Value
Name
public string Name { get; set; }
Property Value
ShowDetails
public bool ShowDetails { get; set; }
Property Value
ShowHeadings
public bool ShowHeadings { get; set; }
Property Value
Sortable
public bool Sortable { get; set; }
Property Value
Type
public PublishingType Type { get; set; }
Property Value
View
public ViewSetting View { get; set; }
Property Value
ViewID
public int ViewID { get; set; }
Property Value
XsltFile
public string XsltFile { get; set; }
Property Value
Methods
Fill(IDataReader)
Fills current object with dataReader data
public override void Fill(IDataReader dataReader)
Parameters
dataReader
IDataReaderDataReader 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
DataRowThe datarow to fill with data.
GetPublishingById(int)
Gets publishing by identifier
public static Publishing GetPublishingById(int id)
Parameters
id
intIdentifier
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
intView identifier
Returns
- PublishingCollection
Collection of publisings
GetPublishingsBySql(string)
Gets publishing collection using sql commnd text
public static PublishingCollection GetPublishingsBySql(string sqlCommandText)
Parameters
sqlCommandText
stringText of sql command
Returns
- PublishingCollection
Collection of publishings
GetXMLOutput()
Buildes xml representation of current object view
public string GetXMLOutput()
Returns
- string
String value