using System.Data; using Kreta.BusinessLogic.Classes; using Kreta.Core; namespace Kreta.BusinessLogic.HelperClasses.MulasztasiErtesitokCOs { public class GondviseloAdatokCo : MulasztasFejCo { public GondviseloAdatokCo(DataRow row) : base(row) { GondviseloId = SDAConvert.ToInt32(row.Field("GondviseloId")); GondviseloNeve = SDAConvert.ToString(row.Field("GondviseloNev")).ReplaceMultipleSpacesAndTrim(); GondviseloAllandoCim = SDAConvert.ToString(row.Field("GondviseloAllandoCim")).ReplaceMultipleSpacesAndTrim(); GondviseloTelefon = SDAConvert.ToString(row.Field("GondviseloTelefon")).ReplaceMultipleSpacesAndTrim(); GondviseloRokonsagiFoka = SDAConvert.ToString(row.Field("GondviseloRokonsagiFoka")).ReplaceMultipleSpacesAndTrim(); } public int GondviseloId { get; set; } public string GondviseloNeve { get; set; } public string GondviseloAllandoCim { get; set; } public string GondviseloTelefon { get; set; } public string GondviseloRokonsagiFoka { get; set; } } }