init
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user