Class Database
A particular database on a server. The object should have enough information to generate a database connection string.
Inheritance
System.Object
Database
Namespace: Albatross.Database
Assembly: Albatross.Database.dll
Syntax
public class Database
Properties
| Improve this Doc View SourceConnectionString
If the ConnectionString property is specified, the implementation of IGetConnectionString might use it directly instead of generating a connection string from the other properties
Declaration
public string ConnectionString { get; set; }
Property Value
Type | Description |
---|---|
System.String |
DataSource
The database server host name or IP address
Declaration
public string DataSource { get; set; }
Property Value
Type | Description |
---|---|
System.String |
InitialCatalog
The database name
Declaration
public string InitialCatalog { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Password
Declaration
public string Password { get; set; }
Property Value
Type | Description |
---|---|
System.String |
SSPI
If integrated security is used for the database connection
Declaration
public bool SSPI { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
UserName
If SSPI is false, SQL authentication will require UserName and Password properties
Declaration
public string UserName { get; set; }
Property Value
Type | Description |
---|---|
System.String |