GPAL - Generally Positive Automation Library v1.0
GPAL The Fluent Automation LIbrary
Loading...
Searching...
No Matches
GenerallyPositive.IAllowDatabaseSettings Interface Reference

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...

Inheritance diagram for GenerallyPositive.IAllowDatabaseSettings:
GenerallyPositive.IAllowToGPALObject< TResult > GenerallyPositive.IAllowDatabaseGridSettings GenerallyPositive.IAllowPrecsionScaleAndSettings GenerallyPositive.IGPALDatabase GenerallyPositive.GPALDatabase GenerallyPositive.IGPALDatabase GenerallyPositive.GPALDatabase GenerallyPositive.GPALDatabase

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 ()

Detailed Description

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.

Member Function Documentation

◆ Close()

IAllowDatabaseSettings GenerallyPositive.IAllowDatabaseSettings.Close ( )

◆ WithCommandTimeout()

IAllowDatabaseSettings GenerallyPositive.IAllowDatabaseSettings.WithCommandTimeout ( int timeoutInSeconds)

◆ WithConnectionString()

IAllowDatabaseSettings GenerallyPositive.IAllowDatabaseSettings.WithConnectionString ( string connectionString)

◆ WithDatabaseName()

IAllowDatabaseSettings GenerallyPositive.IAllowDatabaseSettings.WithDatabaseName ( string databaseName)

◆ WithParameterName()

IAllowDatabaseSettings GenerallyPositive.IAllowDatabaseSettings.WithParameterName ( string parameterName)

◆ WithPassword()

IAllowDatabaseSettings GenerallyPositive.IAllowDatabaseSettings.WithPassword ( string password)

◆ WithServerName()

IAllowDatabaseSettings GenerallyPositive.IAllowDatabaseSettings.WithServerName ( string serverName)

◆ WithSQLCommand()

IAllowDatabaseSettings GenerallyPositive.IAllowDatabaseSettings.WithSQLCommand ( string sqlCommand)

◆ WithStoredProcedure()

IAllowDatabaseSettings GenerallyPositive.IAllowDatabaseSettings.WithStoredProcedure ( string storedProcedure)

◆ WithTableName()

IAllowDatabaseSettings GenerallyPositive.IAllowDatabaseSettings.WithTableName ( string tableName)

◆ WithUsername()

IAllowDatabaseSettings GenerallyPositive.IAllowDatabaseSettings.WithUsername ( string userName)

The documentation for this interface was generated from the following file: