ODataSettings
Class
Represents the settings to be used for OData databinding.
Definition
Namespace:Telerik.Web.UI
Assembly:Telerik.Web.UI.dll
Syntax:
C#
[Obsolete]
[RequiredScript(typeof(OData))]
[TypeConverter(typeof(ExpandableObjectConverter))]
[ClientScriptResource("Telerik.Web.UI.ODataSettings", "Telerik.Web.UI.Common.Navigation.OData.OData.js")]
public class ODataSettings
Inheritance: objectODataSettings
Inherited Members
Properties
Desrcibes the Entities, that the WebService can return. These are usually declared in the http://webserviceurl/$metadata metadata document.
C#
[PersistenceMode(PersistenceMode.InnerProperty)]
public ODataEntityTypeCollection Entities { get; }
Maps Entities to a Containers (Collectons).
C#
[PersistenceMode(PersistenceMode.InnerProperty)]
public ODataEntityContainerCollection EntityContainer { get; }
Gets or sets the initial collection to bind against
C#
public string InitialContainerName { get; set; }
ResponseType
ODataResponseType
Gets or sets the url of the web service to be used
C#
public ODataResponseType ResponseType { get; set; }