DatabaseConfigurationExtension.AsDefault Method
Set this database as the default one in the configuration.
Namespace: Microsoft.Practices.EnterpriseLibrary.Data.Configuration.Fluent
Assembly: Microsoft.Practices.EnterpriseLibrary.Data (in Microsoft.Practices.EnterpriseLibrary.Data.dll)
Syntax
'Declaration
Public Function AsDefault As IDatabaseConfigurationProperties
public IDatabaseConfigurationProperties AsDefault()
public:
virtual IDatabaseConfigurationProperties^ AsDefault() sealed
public final function AsDefault() : IDatabaseConfigurationProperties
Return Value
Implements
IDatabaseConfigurationProperties.AsDefault()
See Also
DatabaseConfigurationExtension Class
Microsoft.Practices.EnterpriseLibrary.Data.Configuration.Fluent Namespace