UserFilterDataServices

Provides data services for the USER_FILTER table.

Namespace:
Inetdev.Commons
Type:
Class
Public:
Yes
Protected:
No
Sealed:
No
Abstract:
No
Inherits from:
Inetdev.Data.DataServices

Constructors

UserFilterDataServices

Default constructor

Signature:
public Void UserFilterDataServices()

Properties

Alias

Gets an alias for the underlaying table.

Signature:
public String Alias { get; set; }

Fields

A collection of Fields that defines the table columns.

Signature:
public IDictionary<String, Field> Fields { get; set; }

Table

Gets the underlaying table name.

Signature:
public String Table { get; set; }

Methods

ClearFilterAsync

Clears a filter for a page an a user.

Signature:
public Task<Int32> ClearFilterAsync(pageId, userId)
Returns

Quantity of deleted records.

Parameters
Name Type Summary
pageId String Page id.
userId String User id.
Exceptions
Type Summary
ArgumentNullOrEmptyException Thrown when pageId is null or empty.
ArgumentNullOrEmptyException Thrown when userId is null or empty.

GetUserFilterByPageAndUserIdAsync

Retrieves a UserFilter looking by page and user id.

Signature:
public Task<UserFilter> GetUserFilterByPageAndUserIdAsync(pageId, userId)
Returns

A UserFilter or null if not found.

Parameters
Name Type Summary
pageId String Page id.
userId String User id.
Exceptions
Type Summary
ArgumentNullOrEmptyException Thrown when pageId is null or empty.
ArgumentNullOrEmptyException Thrown when userId is null or empty.