25 lines
668 B
C#
25 lines
668 B
C#
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;
|
|
}
|
|
}
|