init
This commit is contained in:
commit
e124a47765
19374 changed files with 9806149 additions and 0 deletions
40
Kreta.BusinessLogic/HelperClasses/CsoportItemCo.cs
Normal file
40
Kreta.BusinessLogic/HelperClasses/CsoportItemCo.cs
Normal file
|
@ -0,0 +1,40 @@
|
|||
using System.Data;
|
||||
using Kreta.BusinessLogic.Classes;
|
||||
using Kreta.Core;
|
||||
|
||||
namespace Kreta.BusinessLogic.HelperClasses
|
||||
{
|
||||
public class CsoportItemCo
|
||||
{
|
||||
public CsoportItemCo() { }
|
||||
|
||||
public CsoportItemCo(DataRow dataRow)
|
||||
{
|
||||
Id = SDAConvert.ToInt32(dataRow["Id"]);
|
||||
OsztalyBontasId = SDAConvert.ToNullableInt32(dataRow["OsztalyBontasId"]);
|
||||
string nev = SDAConvert.ToString(dataRow["Nev"]).ReplaceMultipleSpacesAndTrim();
|
||||
Nev = nev;
|
||||
NevComparableString = nev?.ToComparableString();
|
||||
TipusId = SDAConvert.ToNullableInt32(dataRow["TipusId"]);
|
||||
TipusNev = SDAConvert.ToString(dataRow["TipusId_DNAME"]).ReplaceMultipleSpacesAndTrim();
|
||||
Importalt = SDAConvert.ToBooleanFromTF(dataRow["Importalt"]);
|
||||
SzervezetId = SDAConvert.ToNullableInt32(dataRow["SzervezetId"]);
|
||||
}
|
||||
|
||||
public int Id { get; set; }
|
||||
|
||||
public int? OsztalyBontasId { get; set; }
|
||||
|
||||
public string Nev { get; set; }
|
||||
|
||||
public string NevComparableString { get; set; }
|
||||
|
||||
public int? TipusId { get; set; }
|
||||
|
||||
public string TipusNev { get; set; }
|
||||
|
||||
public bool Importalt { get; set; }
|
||||
|
||||
public int? SzervezetId { get; set; }
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue