2013-04-03 06:19:26 +02:00
|
|
|
---
|
|
|
|
name: mssqlconnectors
|
|
|
|
---
|
2018-01-19 04:27:18 +01:00
|
|
|
SilverStripe\Core\Injector\Injector:
|
2013-04-03 06:19:26 +02:00
|
|
|
# Connect using PDO
|
|
|
|
MSSQLPDODatabase:
|
2016-07-15 03:57:54 +02:00
|
|
|
class: 'SilverStripe\MSSQL\MSSQLDatabase'
|
2013-04-03 06:19:26 +02:00
|
|
|
properties:
|
2021-01-14 10:41:43 +01:00
|
|
|
connector: '%$PDOConnector'
|
|
|
|
schemaManager: '%$MSSQLSchemaManager'
|
|
|
|
queryBuilder: '%$MSSQLQueryBuilder'
|
2013-04-03 06:19:26 +02:00
|
|
|
# Uses sqlsrv_connect
|
|
|
|
MSSQLDatabase:
|
2016-07-15 03:57:54 +02:00
|
|
|
class: 'SilverStripe\MSSQL\MSSQLDatabase'
|
2013-04-03 06:19:26 +02:00
|
|
|
properties:
|
2021-01-14 10:41:43 +01:00
|
|
|
connector: '%$SQLServerConnector'
|
|
|
|
schemaManager: '%$MSSQLSchemaManager'
|
|
|
|
queryBuilder: '%$MSSQLQueryBuilder'
|
2013-04-03 06:19:26 +02:00
|
|
|
# Uses sqlsrv_connect to connect to a MS Azure Database
|
|
|
|
MSSQLAzureDatabase:
|
2016-07-15 03:57:54 +02:00
|
|
|
class: 'SilverStripe\MSSQL\MSSQLAzureDatabase'
|
2013-04-03 06:19:26 +02:00
|
|
|
properties:
|
2021-01-14 10:41:43 +01:00
|
|
|
connector: '%$SQLServerConnector'
|
|
|
|
schemaManager: '%$MSSQLSchemaManager'
|
|
|
|
queryBuilder: '%$MSSQLQueryBuilder'
|
2016-07-15 03:57:54 +02:00
|
|
|
SQLServerConnector:
|
|
|
|
class: 'SilverStripe\MSSQL\SQLServerConnector'
|
|
|
|
type: prototype
|
|
|
|
MSSQLSchemaManager:
|
|
|
|
class: 'SilverStripe\MSSQL\MSSQLSchemaManager'
|
|
|
|
MSSQLQueryBuilder:
|
|
|
|
class: 'SilverStripe\MSSQL\MSSQLQueryBuilder'
|