AbstractDbNameQualifier

AbstractDbNameQualifier is the base class for those classes that provides the functionality of construct full qualified names for database objects.

Namespace:
Inetdev.Data
Type:
Class
Public:
Yes
Protected:
No
Sealed:
No
Abstract:
Yes
Inherits from:
System.Object
Implements:
Inetdev.Data.IDbNameQualifier

Constructors

AbstractDbNameQualifier

Default constructor

Signature:
protected Void AbstractDbNameQualifier()

Properties

DataAccessAPI

Get or set the IDbAccess object to interface with the database.

Signature:
public IDbAccess DataAccessAPI { get; set; }

Formatter

Get or set a formatter object.

Signature:
public IDbFormatter Formatter { get; set; }

Methods

GetFullSequenceName

Gets the full qualified name of a sequence as it is specified by the data mapper object.

Signature:
public String GetFullSequenceName(dataServices)
Returns

Full sequence name.

Parameters
Name Type Summary
dataServices IDataServices Database mapper object.

GetFullSequenceName

Get the full qualified name of a sequence for the specified repository.

Signature:
public String GetFullSequenceName(repository)
Returns

Full sequence name.

Parameters
Name Type Summary
repository Repository Repository object to qualified its sequence.

GetFullTableName

Get the full name of a table represented by the specified data mapper object.

Signature:
public String GetFullTableName(dataServices)
Returns

Full table name.

Parameters
Name Type Summary
dataServices IDataServices Database mapper object.

GetFullTableName

Get the full qualified name of a table or view represented by the specified repository object.

Signature:
public String GetFullTableName(repository)
Returns

Full table or view name.

Parameters
Name Type Summary
repository Repository The repository object.