BaseRESTService.ToODATA Method |
Serializes given DataSet to ODATA.
Namespace: CMS.WebServicesAssembly: CMS.WebServices (in CMS.WebServices.dll) Version: 11.0.0
Syntaxprotected 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.Data.DataSet
DataSet to serialize - settings
- Type: CMS.DataEngine.TraverseObjectSettings
Export settings - dataRootName
- Type: System.String
Root name - title
- Type: System.String
Title of the feed - description
- Type: System.String
Description of the feed - feedUri
- Type: System.Uri
Feed URI - itemUriPattern
- Type: System.String
Feed URI pattern (with macros, will be resolved with object data) - modifiedDateColumn
- Type: System.String
Column with modified data - publishDateColumn
- Type: System.String
Column with publish date - nameColumn
- Type: System.String
Name column - idColumn
- Type: System.String
ID column
Return Value
Type:
SyndicationFeed
See Also