Click or drag to resize

IAppStandardDataItemClass Interface

Interface for App Standard

Namespace:  SOWIApp.Foundation
Assembly:  SOWIApp.Foundation (in SOWIApp.Foundation.dll) Version: 19.1.23.1 (19.1.23.622)
Syntax
public interface IAppStandard<DataItemClass> : IConnector<DataItemClass>, 
	IAppController<DataItemClass>

Type Parameters

DataItemClass

The IAppStandardDataItemClass type exposes the following members.

Properties
  NameDescription
Public propertyAppName
AppName is Module name resp class name
Public propertyClientID
Client use App
Public propertyConnectionString (Inherited from IConnectorDataItemClass.)
Public propertyDataGridView
Gives Data Grid View form SOWI App Foundation App Standard see DataGridView
Public propertyDictionaryUI
Gives Dictionary for UI
Public propertyLanguageOut
UI language for Dictionary
Public propertyNameUnchanged (Inherited from IConnectorDataItemClass.)
Public propertyNameUnique (Inherited from IConnectorDataItemClass.)
Public propertyPermissions
Permissions for App/Module and User
Public propertyRecordStandard (Inherited from IConnectorDataItemClass.)
Public propertySortDirectionStandard (Inherited from IConnectorDataItemClass.)
Public propertySortFieldStandard (Inherited from IConnectorDataItemClass.)
Public propertyTableName
usually TableName equal AppName
Public propertyToken
Session token, use for check permission and information for User name
Public propertyUserName (Inherited from IConnectorDataItemClass.)
Public propertyUserThisApp
Gives user data item (SOWIData.Management.User) of the app used. The user is managed by UserName or set by constructor
Top
Methods
  NameDescription
Public methodCount(Records) (Inherited from IConnectorDataItemClass.)
Public methodCount(String, Records) (Inherited from IConnectorDataItemClass.)
Public methodDelete(ListInt32) (Inherited from IConnectorDataItemClass.)
Public methodDelete(Int32) (Inherited from IConnectorDataItemClass.)
Public methodDelete(String) (Inherited from IConnectorDataItemClass.)
Public methodExist(Int32) (Inherited from IConnectorDataItemClass.)
Public methodExist(String) (Inherited from IConnectorDataItemClass.)
Public methodExistOne (Inherited from IConnectorDataItemClass.)
Public methodGetAll (Inherited from IConnectorDataItemClass.)
Public methodGetAll(Records) (Inherited from IConnectorDataItemClass.)
Public methodGetAll(String, SortDirections) (Inherited from IConnectorDataItemClass.)
Public methodGetAll(String, Operators, Object) (Inherited from IConnectorDataItemClass.)
Public methodGetAll(String, SortDirections, String, Operators, Object, Records) (Inherited from IConnectorDataItemClass.)
Public methodGetByID (Inherited from IConnectorDataItemClass.)
Public methodGetByName (Inherited from IConnectorDataItemClass.)
Public methodGetView(ListViewConfig, DictionaryString, String)
Gives list of data with setting from View Config
Public methodGetView(ListViewConfig, String, DictionaryString, String)
Gives list of data item and set View Config
Public methodImport(String)
CSV file import
Public methodCode exampleImport(Stream, String, String)
Data import (partly not implemented). Applicable on web controller by method with parameter object System.Web.HttpPostedFileBase
(Inherited from IAppControllerDataItemClass.)
Public methodInsert(ListDataItemClass) (Inherited from IConnectorDataItemClass.)
Public methodInsert(DataItemClass) (Inherited from IConnectorDataItemClass.)
Public methodInsertOrUpdateByName (Inherited from IConnectorDataItemClass.)
Public methodPermissionCheck(CRUD)
Permission check
Public methodPermissionCheck(CRUD)
Permission check
Public methodUpdate(ListDataItemClass) (Inherited from IConnectorDataItemClass.)
Public methodUpdate(DataItemClass) (Inherited from IConnectorDataItemClass.)
Public methodUpload(String)
Data content upload - not implemented
(Inherited from IAppControllerDataItemClass.)
Public methodUpload(DataItemClass, FileContent)
Data content upload (partly not implemented)
(Inherited from IAppControllerDataItemClass.)
Public methodValidate (Inherited from IConnectorDataItemClass.)
Public methodWrite
Write a document
Top
Extension Methods
  NameDescription
Public Extension MethodCode exampleDatabaseIsChangedDataItemClass
Check is object pApp null, is parameter pConnectionString no equal to App property, is parameter pUserName no equal to App property
(Defined by Helper.)
Top
See Also