Class Database
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
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
DatabaseStatus
Gets or sets the database status.
[DataMember]
public DatabaseStatus DatabaseStatus { get; set; }
Property Value
ExtensionData
Gets or sets the structure that contains extra data.
public virtual ExtensionDataObject ExtensionData { get; set; }
Property Value
IsDeserializing
Gets or sets whether this object is currently being deserialized.
protected bool IsDeserializing { get; }
Property Value
Lines
Gets or sets the list of lines that are stored within this database.
[DataMember]
public TrackableCollection<Line> Lines { get; set; }
Property Value
Name
Gets or sets the database name.
[DataMember]
public string Name { get; set; }
Property Value
SchemaVersion
Gets or sets the database schema version.
[DataMember(Order = 100)]
public Version SchemaVersion { get; set; }
Property Value
Methods
OnPropertyChanged(string)
Processes property changes by raising the PropertyChanged event.
protected virtual void OnPropertyChanged(string propertyName)
Parameters
propertyName
stringThe name of the property that changed.
Events
PropertyChanged
Occurs when a property value changes.
public event PropertyChangedEventHandler PropertyChanged