init
This commit is contained in:
commit
e124a47765
19374 changed files with 9806149 additions and 0 deletions
100
Kreta.BusinessLogic/HelperClasses/ErettsegiEredmenyItemCo.cs
Normal file
100
Kreta.BusinessLogic/HelperClasses/ErettsegiEredmenyItemCo.cs
Normal file
|
@ -0,0 +1,100 @@
|
|||
using System.Data;
|
||||
using Kreta.BusinessLogic.Classes;
|
||||
using Kreta.Core;
|
||||
using Kreta.DataAccess.Interfaces;
|
||||
|
||||
namespace Kreta.BusinessLogic.HelperClasses
|
||||
{
|
||||
public class ErettsegiEredmenyItemCo
|
||||
{
|
||||
public ErettsegiEredmenyItemCo()
|
||||
{
|
||||
}
|
||||
|
||||
public ErettsegiEredmenyItemCo(IErettsegiEredmeny entity)
|
||||
{
|
||||
Id = entity.ID;
|
||||
ErettsegiSzintId = entity.ErettsegiSzint;
|
||||
ErettsegiTantargyId = entity.ErettsegiTantargy;
|
||||
ErettsegiTipusId = entity.ErettsegiTipus;
|
||||
GyakorlatiPontszam = entity.GyakorlatPontszam;
|
||||
IrasbeliPontszam = entity.IrasbeliPontszam;
|
||||
Megjegyzes = entity.Megjegyzes;
|
||||
OsszPontszam = entity.OsszPontszam;
|
||||
SzobeliPontszam = entity.SzobeliPontszam;
|
||||
TanuloId = entity.TanuloId;
|
||||
IntezmenyId = entity.IntezmenyId;
|
||||
TanevId = entity.TanevId;
|
||||
}
|
||||
|
||||
public ErettsegiEredmenyItemCo(DataRow dataRow)
|
||||
{
|
||||
Id = SDAConvert.ToInt32(dataRow["ID"]);
|
||||
Tanulo = SDAConvert.ToString(dataRow["TanuloNev"]).ReplaceMultipleSpacesAndTrim();
|
||||
AnyjaNeve = SDAConvert.ToString(dataRow["AnyjaNeve"]).ReplaceMultipleSpacesAndTrim();
|
||||
SzuletesiDatum = SDAConvert.ToDateTime(dataRow["SzuletesiDatum"]).ToShortDateString();
|
||||
OktatasiAzonosito = SDAConvert.ToString(dataRow["OktatasiAzonosito"]).ReplaceMultipleSpacesAndTrim();
|
||||
Tantargy = SDAConvert.ToString(dataRow["Tantargy_DNAME"]).ReplaceMultipleSpacesAndTrim();
|
||||
GyakorlatiPontszam = SDAConvert.ToNullableInt32(dataRow["GyakorlatiPontszam"]);
|
||||
IrasbeliPontszam = SDAConvert.ToNullableInt32(dataRow["IrasbeliPontszam"]);
|
||||
SzobeliPontszam = SDAConvert.ToNullableInt32(dataRow["SzobeliPontszam"]);
|
||||
OsszPontszam = SDAConvert.ToNullableInt32(dataRow["OsszPontszam"]);
|
||||
Tipus = SDAConvert.ToString(dataRow["Tipus_DNAME"]).ReplaceMultipleSpacesAndTrim();
|
||||
Szint = SDAConvert.ToString(dataRow["Szint_DNAME"]).ReplaceMultipleSpacesAndTrim();
|
||||
Szazalek = SDAConvert.ToNullableInt32(dataRow["Szazalek"]);
|
||||
Erdemjegy = SDAConvert.ToNullableInt32(dataRow["Erdemjegy"]);
|
||||
Megjegyzes = SDAConvert.ToString(dataRow["Megjegyzes"]).ReplaceMultipleSpacesAndTrim();
|
||||
OsztalyNev = SDAConvert.ToString(dataRow["OsztalyNev"]).ReplaceMultipleSpacesAndTrim();
|
||||
OsztalyId = SDAConvert.ToInt32(dataRow["OsztalyId"]);
|
||||
ErettsegiSzintId = SDAConvert.ToInt32(dataRow["Szint"]);
|
||||
ErettsegiTipusId = SDAConvert.ToInt32(dataRow["Tipus"]);
|
||||
ErettsegiTantargyId = SDAConvert.ToInt32(dataRow["Tantargy"]);
|
||||
}
|
||||
|
||||
public int? Id { get; set; }
|
||||
|
||||
public int ErettsegiSzintId { get; set; }
|
||||
|
||||
public int ErettsegiTantargyId { get; set; }
|
||||
|
||||
public int ErettsegiTipusId { get; set; }
|
||||
|
||||
public int? GyakorlatiPontszam { get; set; }
|
||||
|
||||
public int? IrasbeliPontszam { get; set; }
|
||||
|
||||
public string Megjegyzes { get; set; }
|
||||
|
||||
public int? OsszPontszam { get; set; }
|
||||
|
||||
public int? SzobeliPontszam { get; set; }
|
||||
|
||||
public int TanuloId { get; set; }
|
||||
|
||||
public int IntezmenyId { get; set; }
|
||||
|
||||
public int TanevId { get; set; }
|
||||
|
||||
public string Tanulo { get; set; }
|
||||
|
||||
public string AnyjaNeve { get; set; }
|
||||
|
||||
public string SzuletesiDatum { get; set; }
|
||||
|
||||
public string OktatasiAzonosito { get; set; }
|
||||
|
||||
public string Tantargy { get; set; }
|
||||
|
||||
public string Tipus { get; set; }
|
||||
|
||||
public string Szint { get; set; }
|
||||
|
||||
public int? Szazalek { get; set; }
|
||||
|
||||
public int? Erdemjegy { get; set; }
|
||||
|
||||
public string OsztalyNev { get; set; }
|
||||
|
||||
public int? OsztalyId { get; set; }
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue