init
This commit is contained in:
commit
e124a47765
19374 changed files with 9806149 additions and 0 deletions
49
Kreta.BusinessLogic/HelperClasses/TanoraItemCo.cs
Normal file
49
Kreta.BusinessLogic/HelperClasses/TanoraItemCo.cs
Normal file
|
@ -0,0 +1,49 @@
|
|||
using System;
|
||||
using System.Data;
|
||||
using Kreta.BusinessLogic.Classes;
|
||||
using Kreta.Core;
|
||||
|
||||
namespace Kreta.BusinessLogic.HelperClasses
|
||||
{
|
||||
public class TanoraItemCo
|
||||
{
|
||||
public int ID { get; set; }
|
||||
public DateTime Datum { get; set; }
|
||||
|
||||
public int? Ora { get; set; }
|
||||
|
||||
public string OraSorszam { get; set; }
|
||||
|
||||
public string TanarNev { get; set; }
|
||||
|
||||
public string Megjegyzes { get; set; }
|
||||
|
||||
public string OsztCsopNev { get; set; }
|
||||
|
||||
public string TargyNev { get; set; }
|
||||
|
||||
public string Tema { get; set; }
|
||||
|
||||
public DateTime NaplozasDatuma { get; set; }
|
||||
|
||||
public string HFRogzitve { get; set; }
|
||||
|
||||
public string OnlineOra { get; set; }
|
||||
|
||||
public TanoraItemCo(DataRow dataRow)
|
||||
{
|
||||
ID = SDAConvert.ToInt32(dataRow["ID"]);
|
||||
Datum = SDAConvert.ToDateTime(dataRow["Datum"]).Value;
|
||||
Ora = SDAConvert.ToInt32(dataRow["Ora"]);
|
||||
OraSorszam = SDAConvert.ToString(dataRow["OraSorszTxt"]).ReplaceMultipleSpacesAndTrim();
|
||||
TanarNev = SDAConvert.ToString(dataRow["TanarNev"]).ReplaceMultipleSpacesAndTrim();
|
||||
Megjegyzes = SDAConvert.ToString(dataRow["Megjegyzes"]).ReplaceMultipleSpacesAndTrim();
|
||||
OsztCsopNev = SDAConvert.ToString(dataRow["OsztCsopNev"]).ReplaceMultipleSpacesAndTrim();
|
||||
TargyNev = SDAConvert.ToString(dataRow["TargyNev"]).ReplaceMultipleSpacesAndTrim();
|
||||
Tema = SDAConvert.ToString(dataRow["Tema"]).ReplaceMultipleSpacesAndTrim();
|
||||
NaplozasDatuma = SDAConvert.ToDateTime(dataRow["NaplozasDatuma"]).Value;
|
||||
HFRogzitve = SDAConvert.ToBooleanFromTF(dataRow["HFRogzitve"]).GetDisplayName();
|
||||
OnlineOra = SDAConvert.ToBooleanFromTF(dataRow["OnlineOra"]).GetDisplayName();
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue