Méthode | Description | |
---|---|---|
Add ( |
Adds the specified type with configuration
|
|
Add ( |
Adds the specified type with the properties
|
|
Build ( DatabaseType database, string connectionString ) : |
Builds an InPlaceConfiguratioSource for the specified database.
|
|
BuildForMSSqlServer ( string server, string initialCatalog ) : |
Builds a InPlaceConfigurationSource set up to access a MS SQL server database using integrated security.
|
|
BuildForMSSqlServer ( string server, string initialCatalog, string username, string password ) : |
Builds a InPlaceConfigurationSource set up to access a MS SQL server database using the specified username and password.
|
|
GetConfiguration ( Type type ) : IConfiguration |
Return an IConfiguration for the specified type.
|
|
InPlaceConfigurationSource ( ) : System |
Initializes a new instance of the InPlaceConfigurationSource class.
|
Méthode | Description | |
---|---|---|
SetDebugFlag ( bool isDebug ) : void |
Sets the debug flag.
|
|
SetIsLazyByDefault ( bool lazyByDefault ) : void |
Set whatever entities are lazy by default or not.
|
|
SetPluralizeTableNames ( bool pluralize ) : void |
Sets the pluralizeTableNames flag.
|
|
SetUpNamingStrategyType ( String customType ) : void |
Sets the type of the naming strategy.
|
|
SetUpSessionFactoryHolderType ( String customType ) : void |
Sets the type of the session factory holder.
|
|
SetUpThreadInfoType ( bool isWeb, String customType ) : void |
Sets the type of the thread info.
|
|
SetVerifyModelsAgainstDBSchema ( bool verifyModelsAgainstDBSchema ) : void |
Sets the debug flag.
|
Méthode | Description | |
---|---|---|
ConvertToConfiguration ( IDictionary properties ) : IConfiguration | ||
ProcessConfiguration ( IConfiguration config ) : void |
Processes the configuration applying any substitutions.
|
public Add ( |
||
type | The type. | |
config | IConfiguration | The config. |
Résultat | void |
public Add ( |
||
type | The type. | |
properties | IDictionary | The properties. |
Résultat | void |
public static Build ( DatabaseType database, string connectionString ) : |
||
database | DatabaseType | The database. |
connectionString | string | The connection string. |
Résultat |
public static BuildForMSSqlServer ( string server, string initialCatalog ) : |
||
server | string | The server. |
initialCatalog | string | The initial catalog. |
Résultat |
public static BuildForMSSqlServer ( string server, string initialCatalog, string username, string password ) : |
||
server | string | The server. |
initialCatalog | string | The initial catalog. |
username | string | The username. |
password | string | The password. |
Résultat |
public GetConfiguration ( Type type ) : IConfiguration | ||
type | Type | |
Résultat | IConfiguration |
public InPlaceConfigurationSource ( ) : System | ||
Résultat | System |
protected SetDebugFlag ( bool isDebug ) : void | ||
isDebug | bool | if set to |
Résultat | void |
protected SetIsLazyByDefault ( bool lazyByDefault ) : void | ||
lazyByDefault | bool | |
Résultat | void |
protected SetPluralizeTableNames ( bool pluralize ) : void | ||
pluralize | bool | if set to |
Résultat | void |
protected SetUpNamingStrategyType ( String customType ) : void | ||
customType | String | Custom implementation type name |
Résultat | void |
protected SetUpSessionFactoryHolderType ( String customType ) : void | ||
customType | String | Custom implementation |
Résultat | void |
protected SetUpThreadInfoType ( bool isWeb, String customType ) : void | ||
isWeb | bool | if we run in a web context or not |
customType | String | Type of the custom implementation |
Résultat | void |
protected SetVerifyModelsAgainstDBSchema ( bool verifyModelsAgainstDBSchema ) : void | ||
verifyModelsAgainstDBSchema | bool | if set to |
Résultat | void |