Click or drag to resize
BaseRESTServiceToODATA Method
Serializes given DataSet to ODATA.

Namespace: CMS.WebServices
Assembly: CMS.WebServices (in CMS.WebServices.dll) Version: 12.0.0
Syntax
C#
protected static SyndicationFeed ToODATA(
	DataSet ds,
	TraverseObjectSettings settings,
	string dataRootName,
	string title,
	string description,
	Uri feedUri,
	string itemUriPattern,
	string modifiedDateColumn,
	string publishDateColumn,
	string nameColumn,
	string idColumn
)

Parameters

ds
Type: System.DataDataSet
DataSet to serialize
settings
Type: CMS.DataEngineTraverseObjectSettings
Export settings
dataRootName
Type: SystemString
Root name
title
Type: SystemString
Title of the feed
description
Type: SystemString
Description of the feed
feedUri
Type: SystemUri
Feed URI
itemUriPattern
Type: SystemString
Feed URI pattern (with macros, will be resolved with object data)
modifiedDateColumn
Type: SystemString
Column with modified data
publishDateColumn
Type: SystemString
Column with publish date
nameColumn
Type: SystemString
Name column
idColumn
Type: SystemString
ID column

Return Value

Type: SyndicationFeed
See Also