Method | 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.
|
Method | 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.
|
Method | Description | |
---|---|---|
ConvertToConfiguration ( IDictionary properties ) : IConfiguration | ||
ProcessConfiguration ( IConfiguration config ) : void |
Processes the configuration applying any substitutions.
|
public Add ( |
||
type | The type. | |
config | IConfiguration | The config. |
return | void |
public Add ( |
||
type | The type. | |
properties | IDictionary | The properties. |
return | void |
public static Build ( DatabaseType database, string connectionString ) : |
||
database | DatabaseType | The database. |
connectionString | string | The connection string. |
return |
public static BuildForMSSqlServer ( string server, string initialCatalog ) : |
||
server | string | The server. |
initialCatalog | string | The initial catalog. |
return |
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. |
return |
public GetConfiguration ( Type type ) : IConfiguration | ||
type | Type | |
return | IConfiguration |
public InPlaceConfigurationSource ( ) : System | ||
return | System |
protected SetDebugFlag ( bool isDebug ) : void | ||
isDebug | bool | if set to |
return | void |
protected SetIsLazyByDefault ( bool lazyByDefault ) : void | ||
lazyByDefault | bool | |
return | void |
protected SetPluralizeTableNames ( bool pluralize ) : void | ||
pluralize | bool | if set to |
return | void |
protected SetUpNamingStrategyType ( String customType ) : void | ||
customType | String | Custom implementation type name |
return | void |
protected SetUpSessionFactoryHolderType ( String customType ) : void | ||
customType | String | Custom implementation |
return | 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 |
return | void |
protected SetVerifyModelsAgainstDBSchema ( bool verifyModelsAgainstDBSchema ) : void | ||
verifyModelsAgainstDBSchema | bool | if set to |
return | void |