Click or drag to resize

AppControllerDataItemClass Class

Minimum of properties and methods for App use in Web or Win Controller
Inheritance Hierarchy
SystemObject
  SOWIApp.FoundationAppControllerDataItemClass
    SOWIApp.AdministratorClient
    SOWIApp.AdministratorClientModuleConfig
    SOWIApp.AdministratorClientOption

Namespace:  SOWIApp.Foundation
Assembly:  SOWIApp.Foundation (in SOWIApp.Foundation.dll) Version: 19.1.23.1 (19.1.23.622)
Syntax
public abstract class AppController<DataItemClass> : IAppController<DataItemClass>

Type Parameters

DataItemClass
Data Item class e.g. SOWIData.App.Models.TicketOption

The AppControllerDataItemClass type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyAppName
AppName is Module name resp class name
Public propertyClientID
Gives client ID from Session by Token
Public propertyCode exampleDataGridView
Gives translated standard DataGridView with parameters AppName, TableName, UserName and Client
Public propertyDictionaryUI
Gives Dictionary UI
Public propertyTableName
usually TableName equal AppName
Public propertyToken
Session token, use for check permission and information for User name
Public propertyUserName
Gives user name from Session by Token
Top
Methods
  NameDescription
Public methodDelete
From IConnector - not implemented!
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetByID
From IConnector - not implemented!
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetView(ListViewConfig, DictionaryString, String)
From IAppStandard - not implemented!
Public methodGetView(ListViewConfig, String, DictionaryString, String)
From IAppStandard - not implemented!
Public methodImport(String)
Data import - not implemented
Public methodImport(Stream, String, String)
Data import - not implemented
Public methodInsert
From IConnector - not implemented!
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodPermissionCheck
Check Permission CRUD and Session Token of this App/Module and User
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodUpdate
From IConnector - not implemented!
Public methodUpload(String)
Data content upload - not implemented
Public methodUpload(DataItemClass, FileContent)
Data content upload - not implemented
Public methodValidate
Gives Model State return value valid
Top
Extension Methods
  NameDescription
Public Extension MethodGetObjectToBytes
Convert an object to byte array
(Defined by Extensions.)
Public Extension MethodIsNumber
Check is value a number
(Defined by Convert.)
Public Extension MethodToHTMLDisplay(DataGrid, TempDataDictionary)Overloaded. (Defined by Extensions.)
Public Extension MethodCode exampleToHTMLDisplay(String, DataGridDataTypes, String, String, String, String, TempDataDictionary)Overloaded.
Gives HTML code for display.
(Defined by Extensions.)
Public Extension MethodToHTMLEditor(DataGrid, TempDataDictionary, String)Overloaded. (Defined by Extensions.)
Public Extension MethodToHTMLEditor(String, DataGridDataTypes, String, String, String, TempDataDictionary, Boolean, String, DataPlacements, String, String)Overloaded.
Gives HTML code for Input field
(Defined by Extensions.)
Public Extension MethodCode exampleToHTMLHidden(String)Overloaded.
Gives HTML code for hidden data
(Defined by Extensions.)
Public Extension MethodToHTMLHidden(DataGrid)Overloaded.
Gives HTML code for hidden data
(Defined by Extensions.)
Public Extension MethodXMLWrite
Gives XML string from data item
(Defined by Helper.)
Top
See Also