The EntitiesConnection class defines how to connect to the database via Entity Frameworks.
More...
The EntitiesConnection class defines how to connect to the database via Entity Frameworks.
Definition at line 50 of file EntitiesConnection.cs.
◆ EntitiesConnection()
MyCaffe.db.image.EntitiesConnection.EntitiesConnection |
( |
| ) |
|
◆ CreateConnectionString() [1/2]
static string MyCaffe.db.image.EntitiesConnection.CreateConnectionString |
( |
ConnectInfo |
ci | ) |
|
|
static |
Creates the connection string used.
- Parameters
-
ci | Specifies the database connection info (default = 'DNN' db and '.' server). |
- Returns
- The connection string is returned.
Definition at line 91 of file EntitiesConnection.cs.
◆ CreateConnectionString() [2/2]
static string MyCaffe.db.image.EntitiesConnection.CreateConnectionString |
( |
string |
strDb | ) |
|
|
static |
Creates the connection string used.
- Parameters
-
strDb | Specifies the database to use (default = 'DNN'). |
- Returns
- The connection string is returned.
Note, this uses the server specified in the GlobalDatabaseConnectionInfo.
Definition at line 81 of file EntitiesConnection.cs.
◆ CreateEntities()
Returns the DNNEntities to use.
- Parameters
-
ci | Optionally, specifies the database connection info (default = null, which defaults to 'DNN' db and '.' server). |
- Returns
Definition at line 162 of file EntitiesConnection.cs.
◆ g_connectInfo
◆ GlobalDatabaseConnectInfo
ConnectInfo MyCaffe.db.image.EntitiesConnection.GlobalDatabaseConnectInfo |
|
staticgetset |
The documentation for this class was generated from the following file: