Class ServiceAgreementTransaction
Represents the fact that monitoring transaction participates in a service agreement.
Inheritance
Inherited Members
Namespace: Nevatech.Vsb.Repository.Entities
Assembly: Nevatech.Vsb.Repository.dll
Syntax
public sealed class ServiceAgreementTransaction : IValidator, IExtensibleDataObject
Constructors
ServiceAgreementTransaction()
Declaration
public ServiceAgreementTransaction()
Properties
ErrorMessage
Gets the summary of validation errors populated by the call to Validate() method.
Declaration
public string ErrorMessage { get; }
Property Value
Type | Description |
---|---|
System.String |
ExtensionData
Gets or sets System.Runtime.Serialization.ExtensionDataObject that enables serialization roundtrips.
Declaration
public ExtensionDataObject ExtensionData { get; set; }
Property Value
Type | Description |
---|---|
System.Runtime.Serialization.ExtensionDataObject |
ServiceAgreementId
Gets or sets identifier of the service agreement this monitoring transaction is participating in.
Declaration
public int ServiceAgreementId { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
StartDateTime
Gets or sets transaction start date/time converted to the time zone of the service agreement.
Declaration
public DateTime StartDateTime { get; set; }
Property Value
Type | Description |
---|---|
System.DateTime |
Methods
GetSize()
Calculates and returns approximate size of the serialized to XML instance.
Declaration
public int GetSize()
Returns
Type | Description |
---|---|
System.Int32 | Approximate size of the serialized to XML instance. |
ToString()
Returns a string that represents the object state.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String | String that represents the object state. |
Overrides
Validate()
Validates this domain object's state.
Declaration
public bool Validate()
Returns
Type | Description |
---|---|
System.Boolean | True if object's state is valid; otherwise, false. |