![]() |
GPAL - Generally Positive Automation Library v1.0
GPAL The Fluent Automation LIbrary
|
What a database is, not what to do with it: the connection, the command, and the definitions of the parameters that command takes. Every setting answers with this again, so they can be given in any order.
Parameter values, Execute, SaveTo, Using and the Create/Read/Update/Delete verbs are deliberately not here, so a chain cannot run a database it has not finished describing. Call ToGPALObject() to carry the same chain on into IGPALDatabase, which has them.
More...
Public Member Functions | |
| IAllowDatabaseSettings | WithConnectionString (string connectionString) |
| IAllowDatabaseSettings | WithCommandTimeout (int timeoutInSeconds) |
| IAllowDatabaseSettings | Close () |
| IAllowDatabaseSettings | WithUsername (string userName) |
| IAllowDatabaseSettings | WithPassword (string password) |
| IAllowDatabaseSettings | WithServerName (string serverName) |
| IAllowDatabaseSettings | WithDatabaseName (string databaseName) |
| IAllowDatabaseSettings | WithDatabaseType (DatabaseType databaseType) |
| IAllowDatabaseSettings | WithTableName (string tableName) |
| IAllowDatabaseSettings | WithSQLCommand (string sqlCommand) |
| IAllowDatabaseSettings | WithStoredProcedure (string storedProcedure) |
| IAllowDatabaseSettings | WithParameterName (string parameterName) |
| IAllowDatabaseSettings | WithDatetimeParameter (string parameterName) |
| IAllowDatabaseSettings | WithTimeParameter (string parameterName) |
| IAllowDatabaseSettings | WithTimestampParameter (string parameterName) |
| IAllowPrecsionScaleAndSettings | WithDecimalParameter (string parameterName) |
| IAllowDatabaseSettings | WithFloatParameter (string parameterName) |
| IAllowDatabaseSettings | WithImageParameter (string parameterName) |
| IAllowDatabaseSettings | WithIntegerParameter (string parameterName) |
| IAllowDatabaseSettings | WithMoneyParameter (string parameterName) |
| IAllowParameterLength | WithVarCharParameter (string parameterName) |
| IAllowParameterLength | WithNVarCharParameter (string parameterName) |
| IAllowParameterLength | WithCharParameter (string parameterName) |
| IAllowParameterLength | WithNCharParameter (string parameterName) |
| IAllowParameterLength | WithTextParameter (string parameterName) |
| IAllowParameterLength | WithNTextParameter (string parameterName) |
| IAllowDatabaseSettings | WithTableParameter (string parameterName) |
| IAllowDatabaseSettings | WithRowCount (int rowCount) |
| IAllowDatabaseSettings | WithCreateAs (string createSQL) |
| IAllowDatabaseSettings | WithReadAs (string selectSQL) |
| IAllowDatabaseSettings | WithUpdateAs (string updateSQL) |
| IAllowDatabaseSettings | WithDeleteAs (string deleteSQL) |
| IAllowDatabaseSettings | WithErrorCallback (GPALDatabase.CallOnError CallOnError) |
| IAllowDatabaseSettings | WithUDTTName (string typeName) |
| Public Member Functions inherited from GenerallyPositive.IAllowToGPALObject< TResult > | |
| TResult | ToGPALObject () |
What a database is, not what to do with it: the connection, the command, and the definitions of the parameters that command takes. Every setting answers with this again, so they can be given in any order.
Parameter values, Execute, SaveTo, Using and the Create/Read/Update/Delete verbs are deliberately not here, so a chain cannot run a database it has not finished describing. Call ToGPALObject() to carry the same chain on into IGPALDatabase, which has them.
Definition at line 294 of file Interfaces.cs.
| IAllowDatabaseSettings GenerallyPositive.IAllowDatabaseSettings.Close | ( | ) |
Implemented in GenerallyPositive.GPALDatabase.
| IAllowDatabaseSettings GenerallyPositive.IAllowDatabaseSettings.WithCommandTimeout | ( | int | timeoutInSeconds | ) |
Implemented in GenerallyPositive.GPALDatabase.
| IAllowDatabaseSettings GenerallyPositive.IAllowDatabaseSettings.WithConnectionString | ( | string | connectionString | ) |
Implemented in GenerallyPositive.GPALDatabase.
| IAllowDatabaseSettings GenerallyPositive.IAllowDatabaseSettings.WithDatabaseName | ( | string | databaseName | ) |
Implemented in GenerallyPositive.GPALDatabase.
| IAllowDatabaseSettings GenerallyPositive.IAllowDatabaseSettings.WithParameterName | ( | string | parameterName | ) |
Implemented in GenerallyPositive.GPALDatabase.
| IAllowDatabaseSettings GenerallyPositive.IAllowDatabaseSettings.WithPassword | ( | string | password | ) |
Implemented in GenerallyPositive.GPALDatabase.
| IAllowDatabaseSettings GenerallyPositive.IAllowDatabaseSettings.WithServerName | ( | string | serverName | ) |
Implemented in GenerallyPositive.GPALDatabase.
| IAllowDatabaseSettings GenerallyPositive.IAllowDatabaseSettings.WithSQLCommand | ( | string | sqlCommand | ) |
Implemented in GenerallyPositive.GPALDatabase.
| IAllowDatabaseSettings GenerallyPositive.IAllowDatabaseSettings.WithStoredProcedure | ( | string | storedProcedure | ) |
Implemented in GenerallyPositive.GPALDatabase.
| IAllowDatabaseSettings GenerallyPositive.IAllowDatabaseSettings.WithTableName | ( | string | tableName | ) |
Implemented in GenerallyPositive.GPALDatabase.
| IAllowDatabaseSettings GenerallyPositive.IAllowDatabaseSettings.WithUsername | ( | string | userName | ) |
Implemented in GenerallyPositive.GPALDatabase.