init
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
using System;
|
||||
using System.Data;
|
||||
using Kreta.BusinessLogic.Classes;
|
||||
using Kreta.BusinessLogic.Helpers;
|
||||
using Kreta.Core;
|
||||
|
||||
namespace Kreta.BusinessLogic.HelperClasses
|
||||
{
|
||||
public class TanuloiFeljegyzesekItemCo
|
||||
{
|
||||
public TanuloiFeljegyzesekItemCo(DataRow dataRow)
|
||||
{
|
||||
Datum = SDAConvert.ToDateTime(dataRow["Datum"]).Value;
|
||||
TanarNev = SDAConvert.ToString(dataRow["Tanar"]).ReplaceMultipleSpacesAndTrim();
|
||||
FeljegyzesTipusa = SDAConvert.ToString(dataRow["Tipus_DNAME"]).ReplaceMultipleSpacesAndTrim();
|
||||
FejlegyzesSzovege = SDAConvert.ToString(dataRow["Tartalom"]).ReplaceMultipleSpacesAndTrim();
|
||||
FeljegyzesStyle = FeljegyzesHelper.GetSzinezesStyle(SDAConvert.ToInt32(dataRow["Tipus"]), false);
|
||||
}
|
||||
|
||||
public DateTime Datum { get; set; }
|
||||
|
||||
public string TanarNev { get; set; }
|
||||
|
||||
public string FeljegyzesTipusa { get; set; }
|
||||
|
||||
public string FejlegyzesSzovege { get; set; }
|
||||
|
||||
public string FeljegyzesStyle { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user