Craig's Utility Library  4.0 Beta
Utilities.ORM.Manager.SourceProvider.SourceInfo Class Reference

Source info class More...

Inheritance diagram for Utilities.ORM.Manager.SourceProvider.SourceInfo:
Utilities.ORM.Manager.SourceProvider.Interfaces.ISourceInfo

Public Member Functions

 SourceInfo (string Connection, string Name, string SourceType="System.Data.SqlClient", string ParameterPrefix="@", bool Writable=true, bool Readable=true, IDatabase Database=null)
 Constructor More...
 

Properties

string Connection Data Source=([^;]*)"Initial Catalog=([^;]*)"User ID=([^;]*)"Password=([^;]*)" [get, protected set]
 Connection string More...
 
IDatabase Database [get, protected set]
 The database object associated with the source info (if one is associated with it) More...
 
string DatabaseName [get, protected set]
 Gets the database. More...
 
string Name [get, protected set]
 Name of the source More...
 
int Order [get, protected set]
 Order that the source is generally used in More...
 
string ParameterPrefix [get, protected set]
 Parameter prefix that the source uses More...
 
string Password [get, protected set]
 Gets the password. More...
 
bool Readable [get, protected set]
 Should this source be used to read data? More...
 
string Server [get, protected set]
 Gets the data source. More...
 
string SourceType [get, protected set]
 Source type, based on ADO.Net provider name or identifier used by CUL More...
 
string UserName [get, protected set]
 Gets the name of the user. More...
 
bool Writable [get, protected set]
 Should this source be used to write data? More...
 
- Properties inherited from Utilities.ORM.Manager.SourceProvider.Interfaces.ISourceInfo
string Connection [get]
 Connection string More...
 
IDatabase Database [get]
 The database object associated with the source info (if one is associated with it) More...
 
string DatabaseName [get]
 Gets the database. More...
 
string Name [get]
 Name of the source More...
 
int Order [get]
 Order that the source should be used in More...
 
string ParameterPrefix [get]
 Parameter prefix that the source uses More...
 
string Password [get]
 Gets the password. More...
 
bool Readable [get]
 Should this source be used to read data? More...
 
string Server [get]
 Gets the data source. More...
 
string SourceType [get]
 Source type, based on ADO.Net provider name More...
 
string UserName [get]
 Gets the name of the user. More...
 
bool Writable [get]
 Should this source be used to write data? More...
 

Detailed Description

Source info class

Definition at line 33 of file SourceInfo.cs.

Constructor & Destructor Documentation

Utilities.ORM.Manager.SourceProvider.SourceInfo.SourceInfo ( string  Connection,
string  Name,
string  SourceType = "System.Data.SqlClient",
string  ParameterPrefix = "@",
bool  Writable = true,
bool  Readable = true,
IDatabase  Database = null 
)

Constructor

Definition at line 38 of file SourceInfo.cs.

Property Documentation

string Utilities.ORM.Manager.SourceProvider.SourceInfo.Connection Data Source=([^;]*)"Initial Catalog=([^;]*)"User ID=([^;]*)"Password=([^;]*)"
getprotected set

Connection string

Definition at line 88 of file SourceInfo.cs.

IDatabase Utilities.ORM.Manager.SourceProvider.SourceInfo.Database
getprotected set

The database object associated with the source info (if one is associated with it)

Definition at line 93 of file SourceInfo.cs.

string Utilities.ORM.Manager.SourceProvider.SourceInfo.DatabaseName
getprotected set

Gets the database.

The database.

Definition at line 101 of file SourceInfo.cs.

string Utilities.ORM.Manager.SourceProvider.SourceInfo.Name
getprotected set

Name of the source

Definition at line 106 of file SourceInfo.cs.

int Utilities.ORM.Manager.SourceProvider.SourceInfo.Order
getprotected set

Order that the source is generally used in

Definition at line 111 of file SourceInfo.cs.

string Utilities.ORM.Manager.SourceProvider.SourceInfo.ParameterPrefix
getprotected set

Parameter prefix that the source uses

Definition at line 116 of file SourceInfo.cs.

string Utilities.ORM.Manager.SourceProvider.SourceInfo.Password
getprotected set

Gets the password.

The password.

Definition at line 124 of file SourceInfo.cs.

bool Utilities.ORM.Manager.SourceProvider.SourceInfo.Readable
getprotected set

Should this source be used to read data?

Definition at line 129 of file SourceInfo.cs.

string Utilities.ORM.Manager.SourceProvider.SourceInfo.Server
getprotected set

Gets the data source.

The data source.

Definition at line 137 of file SourceInfo.cs.

string Utilities.ORM.Manager.SourceProvider.SourceInfo.SourceType
getprotected set

Source type, based on ADO.Net provider name or identifier used by CUL

Definition at line 142 of file SourceInfo.cs.

string Utilities.ORM.Manager.SourceProvider.SourceInfo.UserName
getprotected set

Gets the name of the user.

The name of the user.

Definition at line 150 of file SourceInfo.cs.

bool Utilities.ORM.Manager.SourceProvider.SourceInfo.Writable
getprotected set

Should this source be used to write data?

Definition at line 155 of file SourceInfo.cs.


The documentation for this class was generated from the following file: