AppStandardDataItemClass Constructor | |
Constructor for stanndard SOWI App module handling with database connector
Namespace:
SOWIApp.Foundation
Assembly:
SOWIApp.Foundation (in SOWIApp.Foundation.dll) Version: 19.1.23.1 (19.1.23.622)
Syntax public AppStandard(
Guid pToken,
bool pNameUnique = false,
bool pNameUnchanged = false,
string pSortFieldStandard = "Name",
SortDirections pSortDirectionStandard = SortDirections.ascending,
Records pRecordStandard = Records.All,
string pTableName = ""
)
Public Sub New (
pToken As Guid,
Optional pNameUnique As Boolean = false,
Optional pNameUnchanged As Boolean = false,
Optional pSortFieldStandard As String = "Name",
Optional pSortDirectionStandard As SortDirections = SortDirections.ascending,
Optional pRecordStandard As Records = Records.All,
Optional pTableName As String = ""
)
Parameters
- pToken
- Type: SystemGuid
Session token set user and client data - pNameUnique (Optional)
- Type: SystemBoolean
optional - true or false details see property NameUnique Default: false - pNameUnchanged (Optional)
- Type: SystemBoolean
optional - true or false details see property NameUnchanged Default: false - pSortFieldStandard (Optional)
- Type: SystemString
optional - setting of standard sort field for the data lists Default: "Name" - pSortDirectionStandard (Optional)
- Type: SOWIDataSortDirections
optional - setting of standard sort order on ascending or descending Default: ascending - pRecordStandard (Optional)
- Type: SOWIDataRecords
optional - which data records to read? all, active or archived Default: All - pTableName (Optional)
- Type: SystemString
use e.g. DataGridView
Remarks
Database setting use SOWIApp.Management.Data.Settings.Database
User name setting use SOWIApp.Management.Session.GetUserName(pToken)
See Also