Repository

Repository represents a data table or view.

Namespace:
Inetdev.Data.Query
Type:
Class
Public:
Yes
Protected:
No
Sealed:
No
Abstract:
No
Inherits from:
System.Object
Implements:
System.IEquatable{Inetdev.Data.Query.Repository}

Constructors

Repository

Default constructor

Signature:
public Void Repository()

Repository

Initializes a new instance of Repository.

Signature:
public Void Repository(dataService)
Parameters
Name Type Summary
dataService IDataServices A IDataService object from which the repository is created.
Exceptions
Type Summary
ArgumentNullException Thrown when dataService is null.

Repository

Creates a new instance of Repository.

Signature:
public Void Repository(schema, name, alias)
Parameters
Name Type Summary
schema String The schema of the table or view.
name String The name of the table or view.
alias String The alias for to the table or view.

Repository

Creates a new instance of Repository.

Signature:
public Void Repository(schema, name, alias, sequencename)
Parameters
Name Type Summary
schema String The schema of the table or view.
name String The name of the table or view.
alias String The alias for to the table or view.
sequencename String A sequence name.

Properties

Alias

Gets or sets the alias for the table or view.

Signature:
public String Alias { get; set; }

Name

Gets or sets the name of the table or view.

Signature:
public String Name { get; set; }

Schema

Gets or sets the schema of the table or view.

Signature:
public String Schema { get; set; }

SequenceName

Gets or sets the name of a sequence.

Signature:
public String SequenceName { get; set; }

Methods

Equals

Checks whether other is equals to this Repository.

Signature:
public Boolean Equals(other)
Returns

true if the objects are equals, otherwise false.

Parameters
Name Type Summary
other Repository An object to compare.

Equals

Checks whether obj is equals to this Repository.

Signature:
public Boolean Equals(obj)
Returns

true if the objects are equals, otherwise false.

Parameters
Name Type Summary
obj Object An object to compare.

GetHashCode

Not required implemented to avoid warnings.

Signature:
public Int32 GetHashCode()

ToString

Returns a textual representation of this Repository.

Signature:
public String ToString()