Craig's Utility Library  4.0 Beta
Utilities.ORM.Manager.Schema.Default.Database.Database Class Reference

Database class More...

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

Public Member Functions

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

Additional Inherited Members

- Protected Member Functions inherited from Utilities.ORM.Manager.Schema.BaseClasses.SourceBase
 SourceBase (string Name)
 Constructor More...
 
- Properties inherited from Utilities.ORM.Manager.Schema.BaseClasses.SourceBase
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

Database class

Definition at line 31 of file Database.cs.

Constructor & Destructor Documentation

Utilities.ORM.Manager.Schema.Default.Database.Database.Database ( string  Name)

Constructor

Parameters
NameName of the database

Definition at line 37 of file Database.cs.

Member Function Documentation

override IFunction Utilities.ORM.Manager.Schema.Default.Database.Database.AddFunction ( string  Name,
string  Definition 
)
virtual

Adds a function to the database

Parameters
NameFunction name
DefinitionFunction definition

Implements Utilities.ORM.Manager.Schema.BaseClasses.SourceBase.

Definition at line 47 of file Database.cs.

override ITable Utilities.ORM.Manager.Schema.Default.Database.Database.AddStoredProcedure ( string  ProcedureName,
string  Definition 
)
virtual

Adds a stored procedure to the database

Parameters
ProcedureNameProcedure name
DefinitionDefinition

Implements Utilities.ORM.Manager.Schema.BaseClasses.SourceBase.

Definition at line 57 of file Database.cs.

override ITable Utilities.ORM.Manager.Schema.Default.Database.Database.AddTable ( string  TableName)
virtual

Adds a table to the database

Parameters
TableNameTable name

Implements Utilities.ORM.Manager.Schema.BaseClasses.SourceBase.

Definition at line 66 of file Database.cs.

override ITable Utilities.ORM.Manager.Schema.Default.Database.Database.AddView ( string  ViewName)
virtual

Adds a view to the database

Parameters
ViewNameView name

Implements Utilities.ORM.Manager.Schema.BaseClasses.SourceBase.

Definition at line 75 of file Database.cs.


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