DatabaseServer

DatabaseServer implements a data model for a database server information.

Namespace:
Inetdev.Multitenancy.DataModels
Type:
Class
Public:
Yes
Protected:
No
Sealed:
No
Abstract:
No
Inherits from:
Inetdev.Data.DataModel
Implements:
System.IEquatable{Inetdev.Multitenancy.DataModels.DatabaseServer}

Constructors

DatabaseServer

Default constructor

Signature:
public Void DatabaseServer()

DatabaseServer

Initializes a new instance of DatabaseServer.

Signature:
public Void DatabaseServer(id)
Parameters
Name Type Summary
id String Object Id.

Properties

BackupUserName

Backup user name.

Signature:
public String BackupUserName { get; set; }

EnforceModelValidation

Gets whether the model validation must be enforced.

Signature:
public Boolean EnforceModelValidation { get; }

Id

The identification of this DatabaseServer.

Signature:
public String Id { get; set; }

ManagerUserName

Manager user name.

Signature:
public String ManagerUserName { get; set; }

ManagerUserPass

Manager user password.

Signature:
public String ManagerUserPass { get; set; }

Name

Server name.

Signature:
public String Name { get; set; }

Methods

Equals

Checks whether other is equal to this object.

Signature:
public Boolean Equals(other)
Parameters
Name Type Summary
other DatabaseServer The object to check equality to.

Equals

Checks whether obj is equal to this object.

Signature:
public Boolean Equals(obj)
Parameters
Name Type Summary
obj Object The object to compare this object to.

GetHashCode

Serves as the default hash function. Not required, implemented to avoid compiler warning.

Signature:
public Int32 GetHashCode()

Load

Initializes a new instance of DatabaseServer and loads it data from the underlaying repository.

Signature:
public DatabaseServer Load(id)
Parameters
Name Type Summary
id String Object Id.

LoadAsync

Initializes a new instance of DatabaseServer and loads it data from the underlaying repository asyncronously.

Signature:
public Task<DatabaseServer> LoadAsync(id)
Parameters
Name Type Summary
id String Object Id.

ToString

Returns a textual representation of the DatabaseServer.

Signature:
public String ToString()