Craig's Utility Library  4.0 Beta
Utilities.ORM.Manager.Schema.Interfaces.ISource Interface Reference

Interface for source objects (like databases) More...

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

Public Member Functions

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

Properties

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

Interface for source objects (like databases)

Definition at line 29 of file ISource.cs.

Member Function Documentation

IFunction Utilities.ORM.Manager.Schema.Interfaces.ISource.AddFunction ( string  Name,
string  Definition 
)

Adds a function to the database

Parameters
NameFunction name
DefinitionFunction definition

Implemented in Utilities.ORM.Manager.Schema.BaseClasses.SourceBase, and Utilities.ORM.Manager.Schema.Default.Database.Database.

ITable Utilities.ORM.Manager.Schema.Interfaces.ISource.AddStoredProcedure ( string  ProcedureName,
string  Definition 
)

Adds a stored procedure to the database

Parameters
ProcedureNameProcedure name
DefinitionDefinition

Implemented in Utilities.ORM.Manager.Schema.BaseClasses.SourceBase, and Utilities.ORM.Manager.Schema.Default.Database.Database.

ITable Utilities.ORM.Manager.Schema.Interfaces.ISource.AddTable ( string  TableName)

Adds a table to the database

Parameters
TableNameTable name

Implemented in Utilities.ORM.Manager.Schema.BaseClasses.SourceBase, and Utilities.ORM.Manager.Schema.Default.Database.Database.

ITable Utilities.ORM.Manager.Schema.Interfaces.ISource.AddView ( string  ViewName)

Adds a view to the database

Parameters
ViewNameView name

Implemented in Utilities.ORM.Manager.Schema.BaseClasses.SourceBase, and Utilities.ORM.Manager.Schema.Default.Database.Database.

Property Documentation

ICollection<IFunction> Utilities.ORM.Manager.Schema.Interfaces.ISource.Functions
get

List of functions

Definition at line 34 of file ISource.cs.

string Utilities.ORM.Manager.Schema.Interfaces.ISource.Name
getset

Name

Definition at line 39 of file ISource.cs.

ICollection<ITable> Utilities.ORM.Manager.Schema.Interfaces.ISource.StoredProcedures
get

List of stored procedures

Definition at line 44 of file ISource.cs.

ICollection<ITable> Utilities.ORM.Manager.Schema.Interfaces.ISource.Tables
get

List of tables

Definition at line 49 of file ISource.cs.

ITable Utilities.ORM.Manager.Schema.Interfaces.ISource.this[string Name]
get

Returns a table with the given name

Parameters
NameTable name
Returns
The table specified

Definition at line 61 of file ISource.cs.

ICollection<ITable> Utilities.ORM.Manager.Schema.Interfaces.ISource.Views
get

List of views

Definition at line 54 of file ISource.cs.


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