Session Class |
Namespace: SOWIApp.Management.Data
The Session type exposes the following members.
Name | Description | |
---|---|---|
ConnectionString |
Gives database connection string of the app used
(Inherited from ConnectorDataItemClass.) | |
DB |
Database object. Sets with method SetDB.
(Inherited from ConnectorDataItemClass.) | |
NameUnchanged |
Flag no change value in field Name Default: false
(Inherited from ConnectorDataItemClass.) | |
NameUnique |
Flag whether Name unique Default: false
(Inherited from ConnectorDataItemClass.) | |
Provider |
Gives data provider type back.
(Inherited from ConnectorDataItemClass.) | |
RecordStandard |
Which data items read from database? All, active or archived records.
(Inherited from ConnectorDataItemClass.) | |
SortDirectionStandard |
Standard sort direction by sort field for example method GeAll
(Inherited from ConnectorDataItemClass.) | |
SortFieldStandard |
Standard sort field for example method GeAll
(Inherited from ConnectorDataItemClass.) | |
UserName |
Gives user name of the app used
(Inherited from ConnectorDataItemClass.) | |
XML |
XML object. Sets with method SetDB
(Inherited from ConnectorDataItemClass.) |
Name | Description | |
---|---|---|
Count(Records) |
Gives the count by all, active or archive data records
(Inherited from ConnectorDataItemClass.) | |
Count(String, Records) |
Gives the count by all, active or archive data records and filtering by Name
(Inherited from ConnectorDataItemClass.) | |
Delete(ListInt32) |
Delete all data items
(Inherited from ConnectorDataItemClass.) | |
Delete(Int32) |
Delete a data item - set Status = Delete (except XML provider)
(Inherited from ConnectorDataItemClass.) | |
Delete(String) |
Delete data item by Name
(Inherited from ConnectorDataItemClass.) | |
Equals | (Inherited from Object.) | |
Exist(Int32) |
Check exist data item by ID (hits can be multiple)
(Inherited from ConnectorDataItemClass.) | |
Exist(String) |
Check exist data item by Name (can be multiple)
(Inherited from ConnectorDataItemClass.) | |
ExistOne |
Check exist one data item by Name
(Inherited from ConnectorDataItemClass.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetAll |
Get data list by standards value without parameter.
(Inherited from ConnectorDataItemClass.) | |
GetAll(Records) |
Get data list by Records (all, active, archived)
(Inherited from ConnectorDataItemClass.) | |
GetAll(String, SortDirections) |
Get data list details with sort parameters
(Inherited from ConnectorDataItemClass.) | |
GetAll(String, Operators, Object) |
Get data list by search parameter.
(Inherited from ConnectorDataItemClass.) | |
GetAll(String, SortDirections, String, Operators, Object, Records) |
Get data list with all parameters.
(Inherited from ConnectorDataItemClass.) | |
GetByID |
Gives one data item by ID
(Inherited from ConnectorDataItemClass.) | |
GetByName |
Data item search by field Name
(Inherited from ConnectorDataItemClass.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetList |
Gives raw data list and is basis for all data processing
(Overrides ConnectorDataItemClassGetList.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
Insert(ListDataItemClass) |
Insert list of data items
(Inherited from ConnectorDataItemClass.) | |
Insert(DataItemClass) |
Insert data item
(Inherited from ConnectorDataItemClass.) | |
InsertOrUpdateByName |
If not exists data record by Name then call method Insert.
If exists data record unique then call method Update.
If more data records then trigger an exception DataFoundMoreAsOne
(Inherited from ConnectorDataItemClass.) | |
LogIn |
Application log in
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
SetDB |
Set database
(Overrides ConnectorDataItemClassSetDB.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
Update(ListDataItemClass) |
Data list update
(Inherited from ConnectorDataItemClass.) | |
Update(DataItemClass) |
Data item update
(Inherited from ConnectorDataItemClass.) | |
Validate |
Validate data item
(Inherited from ConnectorDataItemClass.) |
Name | Description | |
---|---|---|
DBActionAfter |
Triggered by methods Get*, Insert, Update and Delete
(Inherited from ConnectorDataItemClass.) | |
DBActionBefore |
Triggered by methods Get*, Insert, Update and Delete
(Inherited from ConnectorDataItemClass.) | |
DBActionDone |
Triggered by methods Get*, Insert, Update and Delete
(Inherited from ConnectorDataItemClass.) | |
DBActionPermission |
Triggered by methods Get*, Insert, Update and Delete
(Inherited from ConnectorDataItemClass.) | |
DBActionPrepare |
Triggered by methods Get*, Insert, Update and Delete
(Inherited from ConnectorDataItemClass.) | |
Validating |
Triggered by method Validate
(Inherited from ConnectorDataItemClass.) |