Table of Contents

Class BizDataManagerOfType<masterTypeEntity>

Namespace
PHCBusinessLayer
Assembly
PHCBusinessLayer.dll
public class BizDataManagerOfType<masterTypeEntity> : BizDataManager, IPnp, ISDKContextAwareness where masterTypeEntity : BusinessVO

Type Parameters

masterTypeEntity
Inheritance
BizDataManagerOfType<masterTypeEntity>

Constructors

BizDataManagerOfType()

public BizDataManagerOfType()

BizDataManagerOfType(ContextVO)

public BizDataManagerOfType(ContextVO contextItem)

Parameters

Nome Tipo Descrição
contextItem ContextVO

Properties

IsEntityAvailable

public static bool IsEntityAvailable { get; }

Property Value

bool

IsUserEntityAvailable

public static bool IsUserEntityAvailable { get; }

Property Value

bool

Methods

ClearCache()

public static void ClearCache()

ClearChangeCache()

public void ClearChangeCache()

ClearChangeCache(List<string>)

public void ClearChangeCache(List<string> IdStamps)

Parameters

Nome Tipo Descrição
IdStamps List<string>

ClearChangeCache(string)

public void ClearChangeCache(string IdStamp)

Parameters

Nome Tipo Descrição
IdStamp string

ClearEntitiesInChangeSession()

public void ClearEntitiesInChangeSession()

ClearEntityInChangeSession(string)

public void ClearEntityInChangeSession(string IdStamp)

Parameters

Nome Tipo Descrição
IdStamp string

GetEntitiesInChangeSession()

public List<GenericVO> GetEntitiesInChangeSession()

Returns

List<GenericVO>

GetEntityInChangeSession(string, bool)

public masterTypeEntity GetEntityInChangeSession(string IdStamp, bool createNewInstance = false)

Parameters

Nome Tipo Descrição
IdStamp string
createNewInstance bool

Returns

masterTypeEntity

Query()

protected List<masterTypeEntity> Query()

Returns

List<masterTypeEntity>

Query(PHCCmdSql)

public List<masterTypeEntity> Query(PHCCmdSql cmdTsql)

Parameters

Nome Tipo Descrição
cmdTsql PHCCmdSql

Returns

List<masterTypeEntity>

Query(PHCCmdSql, string)

public List<masterTypeEntity> Query(PHCCmdSql cmdTsql, string cacheID)

Parameters

Nome Tipo Descrição
cmdTsql PHCCmdSql
cacheID string

Returns

List<masterTypeEntity>

Query(FilterItem)

public List<masterTypeEntity> Query(FilterItem filterItem)

Parameters

Nome Tipo Descrição
filterItem FilterItem

Returns

List<masterTypeEntity>

Query(FilterItems)

public List<masterTypeEntity> Query(FilterItems filterItems)

Parameters

Nome Tipo Descrição
filterItems FilterItems

Returns

List<masterTypeEntity>

Query(string)

protected List<masterTypeEntity> Query(string tsql)

Parameters

Nome Tipo Descrição
tsql string

Returns

List<masterTypeEntity>

Query(string, string)

protected List<masterTypeEntity> Query(string tsql, string cacheID)

Parameters

Nome Tipo Descrição
tsql string
cacheID string

Returns

List<masterTypeEntity>

QueryByIdStamp(string)

public virtual masterTypeEntity QueryByIdStamp(string IdStamp)

Parameters

Nome Tipo Descrição
IdStamp string

Returns

masterTypeEntity

QueryDimension(string, string)

public List<EntityDimensionVO> QueryDimension(string entityname, string stampid)

Parameters

Nome Tipo Descrição
entityname string
stampid string

Returns

List<EntityDimensionVO>

QueryHashTag(string, string, decimal)

public List<HashTagMovVO> QueryHashTag(string entityname, string stampid, decimal seriesvalue)

Parameters

Nome Tipo Descrição
entityname string
stampid string
seriesvalue decimal

Returns

List<HashTagMovVO>

Query<typeEntity>()

protected List<typeEntity> Query<typeEntity>() where typeEntity : GenericVO

Returns

List<typeEntity>

Type Parameters

typeEntity

Query<typeEntity>(PHCCmdSql)

protected List<typeEntity> Query<typeEntity>(PHCCmdSql cmdTsql) where typeEntity : GenericVO

Parameters

Nome Tipo Descrição
cmdTsql PHCCmdSql

Returns

List<typeEntity>

Type Parameters

typeEntity

Query<typeEntity>(FilterItem)

protected List<typeEntity> Query<typeEntity>(FilterItem filterItem) where typeEntity : GenericVO

Parameters

Nome Tipo Descrição
filterItem FilterItem

Returns

List<typeEntity>

Type Parameters

typeEntity

Query<typeEntity>(FilterItems)

protected List<typeEntity> Query<typeEntity>(FilterItems filterItems) where typeEntity : GenericVO

Parameters

Nome Tipo Descrição
filterItems FilterItems

Returns

List<typeEntity>

Type Parameters

typeEntity

RefreshCache()

The query is always executed In the database and its result is cached, in addition if there is a corresponding item in cache it is cleaned and the new item gets in cache.

public BizDataManagerOfType<masterTypeEntity> RefreshCache()

Returns

BizDataManagerOfType<masterTypeEntity>

WithoutCache()

The query is always executed In the database and its result is not cached, in addition if there is a corresponding item in cache it is not cleaned or modified, ie remains intact in cache.

public BizDataManagerOfType<masterTypeEntity> WithoutCache()

Returns

BizDataManagerOfType<masterTypeEntity>

Remarks

Used to quickly and easily make a clone of an entity with the latest data in the database, without needing to use reflection