/// <summary> /// Сделать из карт необработанных данных /// </summary> /// <param name="input">Original object to deep copy from.</param> public RegistryOfficeDataRow(MapDataRow input) : this() { ROWNUM = input.ROWNUM; CommonName = input.CommonName; FullName = input.FullName; ShortName = input.ShortName; // AdmAreaCode = string.Empty; // AdmArea = string.Empty; District = input.District; PostalCode = input.PostalCode; Address = input.Address; NearestMetroStations = input.NearestMetroStations; ChiefName = input.ChiefName; ChiefPosition = input.ChiefPosition; ChiefPhone = input.ChiefPhone; ContactPhone = input.ContactPhone; ArchivePhone = input.ArchivePhone; SignPGU = input.SignPGU; WorkingHours = input.WorkingHours; ClarificationOfWorkingHours = input.ClarificationOfWorkingHours; WebSite = input.WebSite; X_WGS = input.X_WGS; Y_WGS = input.Y_WGS; GLOBALID = input.GLOBALID; }
/// <summary> /// Создать новый экземпляр из разобранного данных /// </summary> /// <returns></returns> public RegistryOfficeDataRow FromMapDataRow(MapDataRow input) { return(new RegistryOfficeDataRow(input)); }
/// <summary> /// Создать новый экземпляр из разобранного данных /// </summary> /// <returns></returns> public AdminAreaDataRow FromMapDataRow(MapDataRow input) { return(new AdminAreaDataRow(input)); }
/// <summary> /// Построить автора от карт DataRow /// </summary> /// <param name="input"></param> public AdminAreaDataRow(MapDataRow input) : this() { AdmAreaCode = input.AdmAreaCode; AdmArea = input.AdmArea; }