Craig's Utility Library  4.0 Beta
Utilities.ORM.Manager.Schema.BaseClasses.SourceBase Class Referenceabstract

Source base class More...

Inheritance diagram for Utilities.ORM.Manager.Schema.BaseClasses.SourceBase:
Utilities.ORM.Manager.Schema.Interfaces.ISource Utilities.ORM.Manager.Schema.Default.Database.Database

Public Member Functions

abstract IFunction AddFunction (string Name, string Definition)
 Adds a function to the source More...
 
abstract ITable AddStoredProcedure (string ProcedureName, string Definition)
 Adds a stored procedure to the source More...
 
abstract ITable AddTable (string TableName)
 Adds a table to the source More...
 
abstract ITable AddView (string ViewName)
 Adds a view to the source More...
 

Protected Member Functions

 SourceBase (string Name)
 Constructor More...
 

Properties

ICollection< IFunctionFunctions [get]
 Functions with the source More...
 
string Name [get, set]
 Name of the source More...
 
ICollection< ITableStoredProcedures [get]
 Stored procedures within the source More...
 
ICollection< ITableTables [get]
 Tables within the source More...
 
ICollection< ITableViews [get]
 Views within the source More...
 
ITable this[string Name] [get]
 Gets a specific table based on the name More...
 
- Properties inherited from Utilities.ORM.Manager.Schema.Interfaces.ISource
ICollection< IFunctionFunctions [get]
 List of functions More...
 
string Name [get, set]
 Name More...
 
ICollection< ITableStoredProcedures [get]
 List of stored procedures More...
 
ICollection< ITableTables [get]
 List of tables More...
 
ICollection< ITableViews [get]
 List of views More...
 
ITable this[string Name] [get]
 Returns a table with the given name More...
 

Detailed Description

Source base class

Definition at line 31 of file SourceBase.cs.

Constructor & Destructor Documentation

Utilities.ORM.Manager.Schema.BaseClasses.SourceBase.SourceBase ( string  Name)
protected

Constructor

Definition at line 36 of file SourceBase.cs.

Member Function Documentation

abstract IFunction Utilities.ORM.Manager.Schema.BaseClasses.SourceBase.AddFunction ( string  Name,
string  Definition 
)
pure virtual

Adds a function to the source

Parameters
NameName of the function
DefinitionDefinition of the function
Returns
Function that was created/added

Implements Utilities.ORM.Manager.Schema.Interfaces.ISource.

Implemented in Utilities.ORM.Manager.Schema.Default.Database.Database.

abstract ITable Utilities.ORM.Manager.Schema.BaseClasses.SourceBase.AddStoredProcedure ( string  ProcedureName,
string  Definition 
)
pure virtual

Adds a stored procedure to the source

Parameters
ProcedureNameProcedure name
DefinitionDefinition of the stored procedure
Returns
Stored procedure that was created/added

Implements Utilities.ORM.Manager.Schema.Interfaces.ISource.

Implemented in Utilities.ORM.Manager.Schema.Default.Database.Database.

abstract ITable Utilities.ORM.Manager.Schema.BaseClasses.SourceBase.AddTable ( string  TableName)
pure virtual

Adds a table to the source

Parameters
TableNameTable name
Returns
Table that was created/added

Implements Utilities.ORM.Manager.Schema.Interfaces.ISource.

Implemented in Utilities.ORM.Manager.Schema.Default.Database.Database.

abstract ITable Utilities.ORM.Manager.Schema.BaseClasses.SourceBase.AddView ( string  ViewName)
pure virtual

Adds a view to the source

Parameters
ViewNameView name
Returns
View that was created/added

Implements Utilities.ORM.Manager.Schema.Interfaces.ISource.

Implemented in Utilities.ORM.Manager.Schema.Default.Database.Database.

Property Documentation

ICollection<IFunction> Utilities.ORM.Manager.Schema.BaseClasses.SourceBase.Functions
get

Functions with the source

Definition at line 48 of file SourceBase.cs.

string Utilities.ORM.Manager.Schema.BaseClasses.SourceBase.Name
getset

Name of the source

Definition at line 53 of file SourceBase.cs.

ICollection<ITable> Utilities.ORM.Manager.Schema.BaseClasses.SourceBase.StoredProcedures
get

Stored procedures within the source

Definition at line 58 of file SourceBase.cs.

ICollection<ITable> Utilities.ORM.Manager.Schema.BaseClasses.SourceBase.Tables
get

Tables within the source

Definition at line 63 of file SourceBase.cs.

ITable Utilities.ORM.Manager.Schema.BaseClasses.SourceBase.this[string Name]
get

Gets a specific table based on the name

Parameters
NameName of the table
Returns
The table specified

Definition at line 105 of file SourceBase.cs.

ICollection<ITable> Utilities.ORM.Manager.Schema.BaseClasses.SourceBase.Views
get

Views within the source

Definition at line 68 of file SourceBase.cs.


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