Interface IDatabaseInfo
Information related to the application's data source
Assembly: LemonEdge.DataAccess.Core.Abstractions.dll
Syntax
public interface IDatabaseInfo
Properties
Collation
The data source collation
Declaration
string Collation { get; }
Property Value
ConnectionString
The data source connection string
Declaration
string ConnectionString { get; }
Property Value
DatabaseTime
Declaration
DateTimeOffset DatabaseTime { get; }
Property Value
Name
Declaration
Property Value
Server
Declaration
Property Value
Settings
Declaration
DataAccessSettings Settings { get; }
Property Value
UniqueConnectionKey
Declaration
string UniqueConnectionKey { get; }
Property Value
Methods
CreateAccessor()
Declaration
IDataAccessor CreateAccessor()
Returns
GetGlobalEnvValue<T>(string, T)
Declaration
T GetGlobalEnvValue<T>(string name, T defaultOrMissingValue)
Parameters
Type |
Name |
Description |
string |
name |
|
T |
defaultOrMissingValue |
|
Returns
Type Parameters
LoadBasicInfo()
Declaration
Returns
Extension Methods