Table of Contents

Class Database

Namespace
Acuit.Pinpoint.Client2
Assembly
Acuit.Pinpoint.Client2.dll

A database.

[DataContract(IsReference = true)]
[KnownType(typeof(Line))]
public class Database : INotifyPropertyChanged, IExtensibleDataObject
Inheritance
Database
Implements
Inherited Members

Properties

ConnectionString

Gets or sets the database connection string.

[DataMember(Order = 2)]
public string ConnectionString { get; set; }

Property Value

string

Remarks

This is meant for use by Acuit Pinpoint Web, to allow it direct access to the database. As this is a security vulnerability, this should be removed if and when the server is integrated into the web site.

DatabaseId

Gets or sets the database identifier.

[DataMember]
public int DatabaseId { get; set; }

Property Value

int

DatabaseStatus

Gets or sets the database status.

[DataMember]
public DatabaseStatus DatabaseStatus { get; set; }

Property Value

DatabaseStatus

ExtensionData

Gets or sets the structure that contains extra data.

public virtual ExtensionDataObject ExtensionData { get; set; }

Property Value

ExtensionDataObject

IsDeserializing

Gets or sets whether this object is currently being deserialized.

protected bool IsDeserializing { get; }

Property Value

bool

Lines

Gets or sets the list of lines that are stored within this database.

[DataMember]
public TrackableCollection<Line> Lines { get; set; }

Property Value

TrackableCollection<Line>

Name

Gets or sets the database name.

[DataMember]
public string Name { get; set; }

Property Value

string

SchemaVersion

Gets or sets the database schema version.

[DataMember(Order = 100)]
public Version SchemaVersion { get; set; }

Property Value

Version

Methods

OnPropertyChanged(string)

Processes property changes by raising the PropertyChanged event.

protected virtual void OnPropertyChanged(string propertyName)

Parameters

propertyName string

The name of the property that changed.

Events

PropertyChanged

Occurs when a property value changes.

public event PropertyChangedEventHandler PropertyChanged

Event Type

PropertyChangedEventHandler