ConnectorDataItemClass Constructor | |
Standard database connector for data handling
Namespace:
SOWIData.Database
Assembly:
SOWIData (in SOWIData.dll) Version: 19.1.23.1 (19.1.23.622)
Syntax public Connector(
string pConnectionString,
string pUserName,
bool pNameUnique = false,
bool pNameUnchanged = false,
string pSortFieldStandard = "Name",
SortDirections pSortDirectionStandard = SortDirections.ascending,
Records pRecordStandard = Records.All
)
Public Sub New (
pConnectionString As String,
pUserName As String,
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
)
Parameters
- pConnectionString
- Type: SystemString
connection settings for use the Database - pUserName
- Type: SystemString
user name for use the 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
See Also