init
This commit is contained in:
commit
e124a47765
19374 changed files with 9806149 additions and 0 deletions
25
Kreta.BusinessLogic/LogicBase.cs
Normal file
25
Kreta.BusinessLogic/LogicBase.cs
Normal file
|
@ -0,0 +1,25 @@
|
|||
using Kreta.Core.ConnectionType;
|
||||
using Kreta.Framework.Util;
|
||||
|
||||
namespace Kreta.BusinessLogic
|
||||
{
|
||||
public abstract class LogicBase
|
||||
{
|
||||
protected LogicBase(IConnectionType connectionType)
|
||||
{
|
||||
ConnectionType = connectionType;
|
||||
}
|
||||
|
||||
public GridParameters GridParameters { get; set; }
|
||||
|
||||
protected IConnectionType ConnectionType { get; }
|
||||
|
||||
protected int FelhasznaloId => ConnectionType.FelhasznaloId;
|
||||
|
||||
protected int IntezmenyId => ConnectionType.IntezmenyId;
|
||||
|
||||
protected string IntezmenyAzonosito => ConnectionType.IntezmenyAzonosito;
|
||||
|
||||
protected int TanevId => ConnectionType.TanevId;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue