Show / Hide Table of Contents

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 Source

ConnectionString

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
| Improve this Doc View Source

DataSource

The database server host name or IP address

Declaration
public string DataSource { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

InitialCatalog

The database name

Declaration
public string InitialCatalog { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

Password

Declaration
public string Password { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

SSPI

If integrated security is used for the database connection

Declaration
public bool SSPI { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

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
  • Improve this Doc
  • View Source
Back to top Copyright © 2018