[]
        
(Showing Draft Content)

C1.Web.Mvc.TagHelpers.BaseODataCollectionViewServiceTagHelper-2

BaseODataCollectionViewServiceTagHelper<T, TControl> Class

Inheritance
BaseTagHelper<TControl>
BaseODataCollectionViewServiceTagHelper<T, TControl>
Namespace: C1.Web.Mvc.TagHelpers
Assembly: C1.AspNetCore.Mvc.dll
Syntax
public abstract class BaseODataCollectionViewServiceTagHelper<T, TControl> : BaseCollectionViewServiceTagHelper<T, TControl>, ITagHelper, ITagHelperComponent, ITemplateTagHelper where TControl : BaseODataCollectionViewService<T>
Type Parameters
Name Description
T
TControl

Constructors

Name Description
BaseODataCollectionViewServiceTagHelper()

Properties

Name Description
CollectionName

Gets the collection name.

DataTypes

Configurates DataTypes. Sets an object to be used as a map for coercing data types when loading the data.

Error

Configurates the OnClientError client event. Occurs when there is an error reading or writing data.

Expand

Configurates Expand. Sets a string that specifies whether related entities should be included in the return data.

Fields

Configurates Fields. Sets a string containing a comma-separated list which represents the names of the fields to retrieve from the data source.

FilterDefinition

Configurates FilterDefinition. Sets a string containing an OData filter specification to be used for filtering the data on the server.

InferDataTypes

Configurates InferDataTypes. Sets a value that determines whether fields that contain strings that look like standard date representations should be converted to dates automatically.

JsonReviver

Configurates JsonReviver. Sets a custom reviver function to use when parsing JSON values returned from the server.

Keys

Configurates Keys. Sets a string containing a comma-separated list which represents the names of the key fields. Key fields are required for update operations (add/remove/delete).

Loaded

Configurates the OnClientLoaded client event. Occurs when the BaseODataCollectionViewService<T> finishes loading data.

Loading

Configurates the OnClientLoading client event. Occurs when the BaseODataCollectionViewService<T> starts loading data.

ODataVersion

Configurates ODataVersion. Sets the OData version used by the server.

RequestHeaders

Configurates RequestHeaders. Sets an object containing request headers to be used when sending or requesting data. The most typical use for this property is in scenarios where authentication is required.

ServiceUrl

Configurates ServiceUrl. Sets the url of the OData service.

TableName

Configurates TableName. Sets the name of the table (entity) that this collection is bound to.