Class ServiceAgreementTransaction
Represents the fact that monitoring transaction participates in a service agreement.
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 | 
|---|---|
| String | 
ExtensionData
Gets or sets ExtensionDataObject that enables serialization roundtrips.
Declaration
public ExtensionDataObject ExtensionData { get; set; }
  Property Value
| Type | Description | 
|---|---|
| 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 | 
|---|---|
| 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 | 
|---|---|
| DateTime | 
Methods
GetSize()
Calculates and returns approximate size of the serialized to XML instance.
Declaration
public int GetSize()
  Returns
| Type | Description | 
|---|---|
| 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 | 
|---|---|
| String | String that represents the object state.  | 
      
Overrides
Validate()
Validates this domain object's state.
Declaration
public bool Validate()
  Returns
| Type | Description | 
|---|---|
| Boolean | True if object's state is valid; otherwise, false.  |