Versionsnyheter återfinns här>>


IDataExportServiceGetDataFromView Method

Returns the result from a database view that is readable for the given database user. Result can be filtered by passing an optional where clause

Definition

Namespace: Vitec.Ekonomi.Services.DataExport
Assembly: VitecEkonomiServices (in VitecEkonomiServices.dll) Version: 100.0.0.0 (100.0.0.0)
C#
DataTable GetDataFromView(
	string DbViewName,
	string WhereClause = ""
)

Parameters

DbViewName  String
Name of the database view to fetch data from
WhereClause  String  (Optional)
Optional where-clause used to filter within the database view

Return Value

DataTable
a DataTable containing the untyped result from the database view

Exceptions

ServiceFaultKastas om det inte går att genomföra metodanropet. För information om orsaken, se [fångat exception].Detail.Messages

See Also