Skip to end of metadata
Go to start of metadata

Represents a WCF data services that provides data to intersoft data-bound controls.

Definition

public class WcfDataService : DataServiceBase

Summary

The following table summarizes the members exposed in this class.

Public Constructors

WcfDataService Constructor() Initializes a new instance of the WcfDataService class.

Public Properties

DeleteMethod Gets or sets the Delete method that will be executed when DELETE operation is triggered.
EnablePaging Gets or sets a value indicating whether paging is enabled or not.
FilterExpression Gets or sets the filter expression.
InsertMethod Gets or sets the Insert method that will be executed when CREATE operation is triggered.
MaximumRows Gets or sets the maximum rows retrieved in paging scenario.
SelectCountMethod Gets or sets the Select Count method that will be executed when SELECT COUNT operation is triggered.
SelectMethod Gets or sets the Select method that will be executed when READ operation is triggered.
ServiceBinding Gets or sets the binding name from ServiceReferences.ClientConfig for this service object.
SortExpression Gets or sets the sort expression.
StartRowIndex Gets or sets the start row index in paging scenario.
UpdateMethod Gets or sets the Update method that will be executed when UPDATE operation is triggered.

Public Methods

Delete(object) Perform DELETE operation to Wcf data service that specified in this configuration.
GetView() Gets the WcfDataSourceView that represent this data service.
Insert(object) Perform CREATE operation to Wcf data service that specified in this configuration.
Select() Perform READ operation to Wcf data service that specified in this configuration. Note that it will collect information from the properties (Sort Expression, Maximum Rows, Start Row Index, and Filter Expression) for its data source select arguments.
Select(DataSourceSelectArguments) Perform READ operation to Wcf data service that specified in this configuration. Note that it will collect information from the properties (Sort Expression, Maximum Rows, Start Row Index, and Filter Expression) for its data source select arguments.
Update(object) Perform UPDATE operation to Wcf data service that specified in this configuration.

Public Constructors

public WcfDataService()

Public Properties

public string DeleteMethod { get; set; }

Gets or sets the Delete method that will be executed when DELETE operation is triggered.

public bool EnablePaging { get; set; }

Gets or sets a value indicating whether paging is enabled or not.

public string FilterExpression { get; set; }

Gets or sets the filter expression.

public string InsertMethod { get; set; }

Gets or sets the Insert method that will be executed when CREATE operation is triggered.

public int MaximumRows { get; set; }

Gets or sets the maximum rows retrieved in paging scenario.

public string SelectCountMethod { get; set; }

Gets or sets the Select Count method that will be executed when SELECT COUNT operation is triggered.

public string SelectMethod { get; set; }

Gets or sets the Select method that will be executed when READ operation is triggered.

public string ServiceBinding { get; set; }

Gets or sets the binding name from ServiceReferences.ClientConfig for this service object.

public string SortExpression { get; set; }

Gets or sets the sort expression.

public int StartRowIndex { get; set; }

Gets or sets the start row index in paging scenario.

public string UpdateMethod { get; set; }

Gets or sets the Update method that will be executed when UPDATE operation is triggered.

Public Methods

public void Delete(object objectInstance)

Perform DELETE operation to Wcf data service that specified in this configuration.

Parameters

objectInstance The instance / object that will be deleted through Wcf data service.

public WcfDataSourceView GetView()

Gets the WcfDataSourceView that represent this data service.

Return Types

WcfDataSourceView that represent this data service.

public void Insert(object newInstance)

Perform CREATE operation to Wcf data service that specified in this configuration.

Parameters

newInstance The new instance / object that will be added through Wcf data service.

public void Select()

Perform READ operation to Wcf data service that specified in this configuration. Note that it will collect information from the properties (Sort Expression, Maximum Rows, Start Row Index, and Filter Expression) for its data source select arguments.

public void Select(DataSourceSelectArguments selectArguments)

Perform READ operation to Wcf data service that specified in this configuration. Note that it will collect information from the properties (Sort Expression, Maximum Rows, Start Row Index, and Filter Expression) for its data source select arguments.

Parameters

selectArguments DataSourceSelectArguments that will be used in the READ operation.

public void Update(object updatedInstance)

Perform UPDATE operation to Wcf data service that specified in this configuration.

Parameters

updatedInstance The updated instance / object that will be updated through Wcf data service.
  • No labels