SqlServerDbNameQualifier

Implements an IDbNameQualifier for Microsoft SQL Server.

Namespace:
Inetdev.Data.SqlServer
Type:
Class
Public:
Yes
Protected:
No
Sealed:
No
Abstract:
No
Inherits from:
Inetdev.Data.AbstractDbNameQualifier

Constructors

SqlServerDbNameQualifier

Default constructor

Signature:
public Void SqlServerDbNameQualifier()

Properties

IncludeCatalog

Whether the Catalog must be included in the qualified name.

Signature:
public Boolean IncludeCatalog { 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 Data service object.
Exceptions
Type Summary
ArgumentNullException Thrown when dataServices is null.

GetFullSequenceName

Get the full qualified name of a sequence for the specified repository. This method always returns an empty string.

Signature:
public String GetFullSequenceName(repository)
Returns

Full sequence name.

Parameters
Name Type Summary
repository Repository Repository object to qualify 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.
Exceptions
Type Summary
ArgumentNullException Thrown when the dataServices object is null.
MissingRequiredPropertyException Thrown when required properties are not properly initialized.

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.
Exceptions
Type Summary
ArgumentNullException Thrown when the repository object is null.
MissingRequiredPropertyException Thrown when required properties are not properly initialized.