C# Class SIL.FieldWorks.FDO.DomainServices.DataMigration.DomainObjectDTO

Class to be used as the Data Transfer Object (DTO) between BEP-land and Data Migration-land (DM-land). (DTOs move data from point A to point B, but have no behavior.) An instance of DomainObjectDTO will represent one ICmObject of some class, but will be able to 'live' in an older model version and a newer model version during a data migration, where a real ICmObject could not. Instances of this object will be available to DM-land via a special Repository.
Mostra file Open project: sillsdev/FieldWorks Class Usage Examples

Public Methods

Method Description
Equals ( object obj ) : bool

Override to check equality for this type.

GetHashCode ( ) : int

Override to get better hashcode.

ToString ( ) : string

Override to return guid.

Private Methods

Method Description
DomainObjectDTO ( string guid, string classname, byte xml ) : System

Constructor

DomainObjectDTO ( string guid, string classname, string xml ) : System

Method Details

Equals() public method

Override to check equality for this type.
public Equals ( object obj ) : bool
obj object
return bool

GetHashCode() public method

Override to get better hashcode.
public GetHashCode ( ) : int
return int

ToString() public method

Override to return guid.
public ToString ( ) : string
return string