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

Namespace: CMS.WebServices
Assembly: CMS.WebServices (in CMS.WebServices.dll) Version: 8.2.23
Syntax
C#
protected static SyndicationFeed ToODATA(
	DataSet ds,
	ExportObjectSettings 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.DataEngineExportObjectSettings
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