ATAS
Loading...
Searching...
No Matches
ATAS.DataFeedsCore.Database.Cache< TConnection > Class Template Referenceabstract
Inheritance diagram for ATAS.DataFeedsCore.Database.Cache< TConnection >:
[legend]
Collaboration diagram for ATAS.DataFeedsCore.Database.Cache< TConnection >:
[legend]

Public Member Functions

 Cache (string configurationName)
 
void Init (bool isServer)
 
ICollection< PortfolioGetPortfolios ()
 
Portfolio GetPortfolio (string accountId)
 
Portfolio TryGetPortfolio (string accountId)
 
ICollection< PositionGetPositions (string accountId)
 
ICollection< PositionGetPositions ()
 
ICollection< OrderGetOrders (string accountId)
 
ICollection< MyTradeGetMyTrades (string accountId)
 
IEnumerable< MyTradeGetPositionMyTrdades (Position position)
 
IEnumerable< MyTradeGetOpenedMyTrades ()
 
IEnumerable< OrderGetOrders (DateTime from, DateTime to, IEnumerable< string > accounts, IEnumerable< string > securities)
 
IEnumerable< MyTradeGetMyTrades (DateTime from, DateTime to, IEnumerable< string > accounts, IEnumerable< string > securities)
 
IEnumerable< MyTradeGetMyTrades (string accountId, long tradeId)
 
IEnumerable< HistoryMyTradeGetHistoryTrades (DateTime from, DateTime to, IEnumerable< string > accounts, IEnumerable< string > securities)
 
Order TryGetOrder (string accountId, long extId, bool searchInDb)
 
MyTrade TryGetMyTrade (string accountId, string tradeId, bool searchInDb)
 
Position TryGetPosition (string accountId, string securityId)
 
void DeletePortfolioData (Portfolio portfolio)
 
IEnumerable< PortfolioChangeGetPortfolioChanges (string accountId, DateTime from, DateTime to)
 
IEnumerable< PortfolioChangeGetPortfolioChanges (DateTime from, DateTime to, IEnumerable< string > accounts)
 
void Save (PortfolioChange portfolioChange, bool wait=false)
 
void Save (PortfolioState portfolioState, bool wait=false)
 
ICollection< SecurityLoadAllSecurities ()
 
ICollection< OvernightSwapValueLoadAllSwapValues ()
 
ICollection< SecurityGetSecurities ()
 
ICollection< SecurityGetPositionSecurities ()
 
IEnumerable< SecurityGetSecurities (string code, string exchange)
 
IEnumerable< SecurityGetSecuritiesByExchange (string exchange)
 
Security GetSecurity (string id)
 
void Save (IEnumerable< Security > securities, bool wait=false)
 
void Save (Security security, bool wait=false)
 
ICollection< SecurityMarginGetSecurityMargins ()
 
SecurityMargin TryGetSecurityMargin (string securityId)
 
void Save (SecurityMargin margin, bool wait=false)
 
ICollection< ExchangeGetExchanges ()
 
ICollection< InstrumentExchangeGetInstrumentExchanges ()
 Get all InstrumentExchange need for import.
 
Exchange GetExchange (string code)
 
Exchange TryGetExchange (string code)
 
Exchange TryGetInstrumentExchange (string instrument, string code)
 
InstrumentExchange TryGetInstrumentExchange (string instrument)
 
void Save (Exchange exchange, bool wait=false)
 
void Save (InstrumentExchange instrumentExchange, bool wait=false)
 
void Remove (Exchange exchange)
 
void Remove (InstrumentExchange instrumentExchange)
 
ICollection< UserRoleGetUserRoles ()
 
UserRole GetUserRole (long id)
 
UserRole TryGetUserRole (long id)
 
void Save (UserRole role, bool wait=false)
 
ICollection< UserGroupGetUserGroups ()
 
ICollection< UserGroupGetUserGroups (UserGroup parent)
 
UserGroup GetUserGroup (long id)
 
UserGroup TryGetUserGroup (long id)
 
void Save (UserGroup group, bool wait=false)
 
ICollection< UserGetUsers (UserGroup group)
 
User GetUser (string login)
 
User GetUser (long id)
 
int GetNumberOfActiveUsers ()
 
void Save (User user, bool wait=false)
 
ICollection< CommissionGroupGetCommissionGroups (UserGroup group)
 
CommissionGroup TryGetCommissionGroup (long id)
 
CommissionGroup TryGetCommissionGroup (Portfolio portfolio)
 
void Save (CommissionGroup commissionGroup, bool wait=false)
 
string GetValue (string name)
 
void SetValue (string name, string value, bool wait=false)
 
void Save (Order order, bool wait=false)
 
void Save (MyTrade trade, bool wait=false)
 
void Save (HistoryMyTrade trade, bool wait=false)
 
void Save (Portfolio portfolio, bool extended, bool wait=false)
 
void Save (Position position, bool wait=false)
 
void Remove (MyTrade trade)
 
void ClearHistoryTrades ()
 
void ClearMyTrades ()
 
void ClearOrders ()
 
IEnumerable< NewsGetNews (string[] accounts, DateTime from, DateTime to)
 
IEnumerable< NewsGetNews (DateTime from, DateTime to)
 
IEnumerable< NewsGetNews (User user, bool unhandled)
 
void Save (News news, bool wait=false)
 
ICollection< PortfolioViewerGetPortfolioViewers ()
 
PortfolioViewer TryGetPortfolioViewer (long id)
 
void Save (PortfolioViewer viewer, bool wait=false)
 
IEnumerable< ServerPnLGetServerPnL (DateTime from, DateTime to)
 
void Wait ()
 
void WaitInitialized ()
 
override string ToString ()
 Returns a string that represents the current object.
 
Security GetOrCreateSecurity (string id, Func< string, Security > create)
 
Portfolio GetOrCreatePortfolio (string accountId, Func< string, Portfolio > create)
 
Position GetOrCreatePosition (Portfolio portfolio, Security security, Func< Portfolio, Security, Position > create)
 
Order GetOrCreateOrder (long extId, Func< long, Order > create)
 
MyTrade GetOrCreateMyTrade (string tradeId, Func< string, MyTrade > create)
 
Trade CreateTrade ()
 
MarketDepth CreateMarketDepth ()
 
 Cache (string configurationName)
 
 Cache (string providerName, string connectionString)
 
 Cache (DataProviderBase provider, string connectionString)
 
void Init (bool isServer)
 
ICollection< PortfolioGetPortfolios ()
 
Portfolio GetPortfolio (string accountId)
 
Portfolio TryGetPortfolio (string accountId)
 
ICollection< PositionGetPositions (string accountId)
 
ICollection< PositionGetPositions ()
 
ICollection< OrderGetOrders (string accountId)
 
ICollection< MyTradeGetMyTrades (string accountId)
 
IEnumerable< MyTradeGetPositionMyTrdades (Position position)
 
IEnumerable< MyTradeGetOpenedMyTrades ()
 
IEnumerable< OrderGetOrders (DateTime from, DateTime to, IEnumerable< string > accounts, IEnumerable< string > securities)
 
IEnumerable< MyTradeGetMyTrades (DateTime from, DateTime to, IEnumerable< string > accounts, IEnumerable< string > securities)
 
IEnumerable< MyTradeGetMyTrades (string accountId, long tradeId)
 
IEnumerable< HistoryMyTradeGetHistoryTrades (DateTime from, DateTime to, IEnumerable< string > accounts, IEnumerable< string > securities)
 
Order TryGetOrder (string accountId, long extId, bool searchInDb)
 
MyTrade TryGetMyTrade (string accountId, string tradeId, bool searchInDb)
 
Position TryGetPosition (string accountId, string securityId)
 
IEnumerable< PortfolioChangeGetPortfolioChanges (string accountId, DateTime from, DateTime to)
 
void Save (PortfolioChange portfolioChange, bool wait=false)
 
void Save (PortfolioState portfolioState, bool wait=false)
 
ICollection< SecurityLoadAllSecurities ()
 
ICollection< SecurityGetSecurities ()
 
ICollection< SecurityGetPositionSecurities ()
 
IEnumerable< SecurityGetSecurities (string code, string exchange)
 
IEnumerable< SecurityGetSecuritiesByExchange (string exchange)
 
Security GetSecurity (string id)
 
void Save (IEnumerable< Security > securities, bool wait=false)
 
void Save (Security security, bool wait=false)
 
ICollection< SecurityMarginGetSecurityMargins ()
 
SecurityMargin TryGetSecurityMargin (string securityId)
 
void Save (SecurityMargin margin, bool wait=false)
 
ICollection< ExchangeGetExchanges ()
 
ICollection< InstrumentExchangeGetInstrumentExchanges ()
 Get all InstrumentExchange need for import.
 
Exchange GetExchange (string code)
 
Exchange TryGetExchange (string code)
 
Exchange TryGetInstrumentExchange (string instrument, string code)
 
InstrumentExchange TryGetInstrumentExchange (string instrument)
 
void Save (Exchange exchange, bool wait=false)
 
void Save (InstrumentExchange instrumentExchange, bool wait=false)
 
void Remove (Exchange exchange)
 
void Remove (InstrumentExchange instrumentExchange)
 
ICollection< UserRoleGetUserRoles ()
 
UserRole GetUserRole (long id)
 
UserRole TryGetUserRole (long id)
 
void Save (UserRole role, bool wait=false)
 
ICollection< UserGroupGetUserGroups ()
 
ICollection< UserGroupGetUserGroups (UserGroup parent)
 
UserGroup GetUserGroup (long id)
 
UserGroup TryGetUserGroup (long id)
 
void Save (UserGroup group, bool wait=false)
 
ICollection< UserGetUsers (UserGroup group)
 
User GetUser (string login)
 
User GetUser (long id)
 
void Save (User user, bool wait=false)
 
ICollection< CommissionGroupGetCommissionGroups (UserGroup group)
 
CommissionGroup TryGetCommissionGroup (long id)
 
CommissionGroup TryGetCommissionGroup (Portfolio portfolio)
 
void Save (CommissionGroup commissionGroup, bool wait=false)
 
string GetValue (string name)
 
void SetValue (string name, string value, bool wait=false)
 
void Save (Order order, bool wait=false)
 
void Save (MyTrade trade, bool wait=false)
 
void Save (HistoryMyTrade trade, bool wait=false)
 
void Save (Portfolio portfolio, bool extended, bool wait=false)
 
void Save (Position position, bool wait=false)
 
void Remove (MyTrade trade)
 
void ClearHistoryTrades ()
 
void ClearMyTrades ()
 
void ClearOrders ()
 
IEnumerable< NewsGetNews (DateTime from, DateTime to)
 
IEnumerable< NewsGetNews (User user, bool unhandled)
 
void Save (News news, bool wait=false)
 
ICollection< PortfolioViewerGetPortfolioViewers ()
 
PortfolioViewer TryGetPortfolioViewer (long id)
 
void Save (PortfolioViewer viewer, bool wait=false)
 
IEnumerable< ServerPnLGetServerPnL (DateTime from, DateTime to)
 
void Wait ()
 
void WaitInitialized ()
 
Security GetOrCreateSecurity (string id, Func< string, Security > create)
 
Portfolio GetOrCreatePortfolio (string accountId, Func< string, Portfolio > create)
 
Position GetOrCreatePosition (Portfolio portfolio, Security security, Func< Portfolio, Security, Position > create)
 
Order GetOrCreateOrder (long extId, Func< long, Order > create)
 
MyTrade GetOrCreateMyTrade (string id, Func< string, MyTrade > create)
 
Trade CreateTrade ()
 
MarketDepth CreateMarketDepth ()
 

Protected Member Functions

 Cache (string providerName, string connectionString)
 
 Cache (DataProviderBase provider, string connectionString)
 
virtual void OnInit (TConnection db)
 
override void RaiseLoggingSettingsChanged (string propertyName="")
 
User GetUser (TConnection db, long id)
 
abstract TConnection CreateDatabaseManager ()
 
ProcessDb< T > (Func< TConnection, T > action)
 
void Insert< T > (TConnection db, T entity)
 
void InsertOrUpdate< T > (TConnection db, T entity)
 
void InsertWithIdentityOrUpdate< T > (TConnection db, T entity, Func< T, long > getId, Action< T, long > setId)
 
void AddToQueue (Action< TConnection > value, bool wait)
 
void AddToQueue (long id, Action< TConnection > value)
 
override DatabaseManager CreateDatabaseManager ()
 

Properties

DataProviderBase Provider [get]
 
string ConfigurationName [get]
 
string ProviderName [get]
 
string ConnectionString [get]
 
long LastExtId [get]
 
long LastOrderId [get]
 
long LastTradeId [get]
 
bool IsInitialized [get]
 
TimeSpan ClearCachePeriod [get, set]
 
bool CheckConsistency [get, set]
 
- Properties inherited from ATAS.DataFeedsCore.Database.ICache
long LastExtId [get]
 
long LastOrderId [get]
 
long LastTradeId [get]
 
bool IsInitialized [get]
 
TimeSpan ClearCachePeriod [get, set]
 
bool CheckConsistency [get, set]
 

Constructor & Destructor Documentation

◆ Cache() [1/6]

ATAS.DataFeedsCore.Database.Cache< TConnection >.Cache ( string  configurationName)

◆ Cache() [2/6]

ATAS.DataFeedsCore.Database.Cache< TConnection >.Cache ( string  providerName,
string  connectionString 
)
protected

◆ Cache() [3/6]

ATAS.DataFeedsCore.Database.Cache< TConnection >.Cache ( DataProviderBase  provider,
string  connectionString 
)
protected

◆ Cache() [4/6]

ATAS.DataFeedsCore.Database.Cache< TConnection >.Cache ( string  configurationName)

◆ Cache() [5/6]

ATAS.DataFeedsCore.Database.Cache< TConnection >.Cache ( string  providerName,
string  connectionString 
)

◆ Cache() [6/6]

ATAS.DataFeedsCore.Database.Cache< TConnection >.Cache ( DataProviderBase  provider,
string  connectionString 
)

Member Function Documentation

◆ AddToQueue() [1/2]

void ATAS.DataFeedsCore.Database.Cache< TConnection >.AddToQueue ( Action< TConnection >  value,
bool  wait 
)
protected

◆ AddToQueue() [2/2]

void ATAS.DataFeedsCore.Database.Cache< TConnection >.AddToQueue ( long  id,
Action< TConnection >  value 
)
protected

◆ ClearHistoryTrades()

void ATAS.DataFeedsCore.Database.Cache< TConnection >.ClearHistoryTrades ( )

◆ ClearMyTrades()

void ATAS.DataFeedsCore.Database.Cache< TConnection >.ClearMyTrades ( )

◆ ClearOrders()

void ATAS.DataFeedsCore.Database.Cache< TConnection >.ClearOrders ( )

◆ CreateDatabaseManager() [1/2]

abstract TConnection ATAS.DataFeedsCore.Database.Cache< TConnection >.CreateDatabaseManager ( )
protectedpure virtual

◆ CreateDatabaseManager() [2/2]

override DatabaseManager ATAS.DataFeedsCore.Database.Cache< TConnection >.CreateDatabaseManager ( )
protected

◆ CreateMarketDepth()

MarketDepth ATAS.DataFeedsCore.Database.Cache< TConnection >.CreateMarketDepth ( )

◆ CreateTrade()

◆ DeletePortfolioData()

void ATAS.DataFeedsCore.Database.Cache< TConnection >.DeletePortfolioData ( Portfolio  portfolio)

◆ GetCommissionGroups()

ICollection< CommissionGroup > ATAS.DataFeedsCore.Database.Cache< TConnection >.GetCommissionGroups ( UserGroup  group)

◆ GetExchange()

Exchange ATAS.DataFeedsCore.Database.Cache< TConnection >.GetExchange ( string  code)

◆ GetExchanges()

ICollection< Exchange > ATAS.DataFeedsCore.Database.Cache< TConnection >.GetExchanges ( )

◆ GetHistoryTrades()

IEnumerable< HistoryMyTrade > ATAS.DataFeedsCore.Database.Cache< TConnection >.GetHistoryTrades ( DateTime  from,
DateTime  to,
IEnumerable< string >  accounts,
IEnumerable< string >  securities 
)

◆ GetInstrumentExchanges()

ICollection< InstrumentExchange > ATAS.DataFeedsCore.Database.Cache< TConnection >.GetInstrumentExchanges ( )

Get all InstrumentExchange need for import.

Returns

Implements ATAS.DataFeedsCore.Database.ICache.

◆ GetMyTrades() [1/3]

IEnumerable< MyTrade > ATAS.DataFeedsCore.Database.Cache< TConnection >.GetMyTrades ( DateTime  from,
DateTime  to,
IEnumerable< string >  accounts,
IEnumerable< string >  securities 
)

◆ GetMyTrades() [2/3]

ICollection< MyTrade > ATAS.DataFeedsCore.Database.Cache< TConnection >.GetMyTrades ( string  accountId)

◆ GetMyTrades() [3/3]

IEnumerable< MyTrade > ATAS.DataFeedsCore.Database.Cache< TConnection >.GetMyTrades ( string  accountId,
long  tradeId 
)

◆ GetNews() [1/3]

IEnumerable< News > ATAS.DataFeedsCore.Database.Cache< TConnection >.GetNews ( DateTime  from,
DateTime  to 
)

◆ GetNews() [2/3]

IEnumerable< News > ATAS.DataFeedsCore.Database.Cache< TConnection >.GetNews ( string[]  accounts,
DateTime  from,
DateTime  to 
)

◆ GetNews() [3/3]

IEnumerable< News > ATAS.DataFeedsCore.Database.Cache< TConnection >.GetNews ( User  user,
bool  unhandled 
)

◆ GetNumberOfActiveUsers()

int ATAS.DataFeedsCore.Database.Cache< TConnection >.GetNumberOfActiveUsers ( )

◆ GetOpenedMyTrades()

IEnumerable< MyTrade > ATAS.DataFeedsCore.Database.Cache< TConnection >.GetOpenedMyTrades ( )

◆ GetOrCreateMyTrade()

MyTrade ATAS.DataFeedsCore.Database.Cache< TConnection >.GetOrCreateMyTrade ( string  tradeId,
Func< string, MyTrade create 
)

◆ GetOrCreateOrder()

Order ATAS.DataFeedsCore.Database.Cache< TConnection >.GetOrCreateOrder ( long  extId,
Func< long, Order create 
)

◆ GetOrCreatePortfolio()

Portfolio ATAS.DataFeedsCore.Database.Cache< TConnection >.GetOrCreatePortfolio ( string  accountId,
Func< string, Portfolio create 
)

◆ GetOrCreatePosition()

Position ATAS.DataFeedsCore.Database.Cache< TConnection >.GetOrCreatePosition ( Portfolio  portfolio,
Security  security,
Func< Portfolio, Security, Position create 
)

◆ GetOrCreateSecurity()

Security ATAS.DataFeedsCore.Database.Cache< TConnection >.GetOrCreateSecurity ( string  id,
Func< string, Security create 
)

◆ GetOrders() [1/2]

IEnumerable< Order > ATAS.DataFeedsCore.Database.Cache< TConnection >.GetOrders ( DateTime  from,
DateTime  to,
IEnumerable< string >  accounts,
IEnumerable< string >  securities 
)

◆ GetOrders() [2/2]

ICollection< Order > ATAS.DataFeedsCore.Database.Cache< TConnection >.GetOrders ( string  accountId)

◆ GetPortfolio()

Portfolio ATAS.DataFeedsCore.Database.Cache< TConnection >.GetPortfolio ( string  accountId)

◆ GetPortfolioChanges() [1/2]

IEnumerable< PortfolioChange > ATAS.DataFeedsCore.Database.Cache< TConnection >.GetPortfolioChanges ( DateTime  from,
DateTime  to,
IEnumerable< string >  accounts 
)

◆ GetPortfolioChanges() [2/2]

IEnumerable< PortfolioChange > ATAS.DataFeedsCore.Database.Cache< TConnection >.GetPortfolioChanges ( string  accountId,
DateTime  from,
DateTime  to 
)

◆ GetPortfolios()

ICollection< Portfolio > ATAS.DataFeedsCore.Database.Cache< TConnection >.GetPortfolios ( )

◆ GetPortfolioViewers()

ICollection< PortfolioViewer > ATAS.DataFeedsCore.Database.Cache< TConnection >.GetPortfolioViewers ( )

◆ GetPositionMyTrdades()

IEnumerable< MyTrade > ATAS.DataFeedsCore.Database.Cache< TConnection >.GetPositionMyTrdades ( Position  position)

◆ GetPositions() [1/2]

ICollection< Position > ATAS.DataFeedsCore.Database.Cache< TConnection >.GetPositions ( )

◆ GetPositions() [2/2]

ICollection< Position > ATAS.DataFeedsCore.Database.Cache< TConnection >.GetPositions ( string  accountId)

◆ GetPositionSecurities()

ICollection< Security > ATAS.DataFeedsCore.Database.Cache< TConnection >.GetPositionSecurities ( )

◆ GetSecurities() [1/2]

ICollection< Security > ATAS.DataFeedsCore.Database.Cache< TConnection >.GetSecurities ( )

◆ GetSecurities() [2/2]

IEnumerable< Security > ATAS.DataFeedsCore.Database.Cache< TConnection >.GetSecurities ( string  code,
string  exchange 
)

◆ GetSecuritiesByExchange()

IEnumerable< Security > ATAS.DataFeedsCore.Database.Cache< TConnection >.GetSecuritiesByExchange ( string  exchange)

◆ GetSecurity()

Security ATAS.DataFeedsCore.Database.Cache< TConnection >.GetSecurity ( string  id)

◆ GetSecurityMargins()

ICollection< SecurityMargin > ATAS.DataFeedsCore.Database.Cache< TConnection >.GetSecurityMargins ( )

◆ GetServerPnL()

IEnumerable< ServerPnL > ATAS.DataFeedsCore.Database.Cache< TConnection >.GetServerPnL ( DateTime  from,
DateTime  to 
)

◆ GetUser() [1/3]

User ATAS.DataFeedsCore.Database.Cache< TConnection >.GetUser ( long  id)

◆ GetUser() [2/3]

User ATAS.DataFeedsCore.Database.Cache< TConnection >.GetUser ( string  login)

◆ GetUser() [3/3]

User ATAS.DataFeedsCore.Database.Cache< TConnection >.GetUser ( TConnection  db,
long  id 
)
protected

◆ GetUserGroup()

UserGroup ATAS.DataFeedsCore.Database.Cache< TConnection >.GetUserGroup ( long  id)

◆ GetUserGroups() [1/2]

ICollection< UserGroup > ATAS.DataFeedsCore.Database.Cache< TConnection >.GetUserGroups ( )

◆ GetUserGroups() [2/2]

ICollection< UserGroup > ATAS.DataFeedsCore.Database.Cache< TConnection >.GetUserGroups ( UserGroup  parent)

◆ GetUserRole()

UserRole ATAS.DataFeedsCore.Database.Cache< TConnection >.GetUserRole ( long  id)

◆ GetUserRoles()

ICollection< UserRole > ATAS.DataFeedsCore.Database.Cache< TConnection >.GetUserRoles ( )

◆ GetUsers()

ICollection< User > ATAS.DataFeedsCore.Database.Cache< TConnection >.GetUsers ( UserGroup  group)

◆ GetValue()

string ATAS.DataFeedsCore.Database.Cache< TConnection >.GetValue ( string  name)

◆ Init()

void ATAS.DataFeedsCore.Database.Cache< TConnection >.Init ( bool  isServer)

◆ Insert< T >()

void ATAS.DataFeedsCore.Database.Cache< TConnection >.Insert< T > ( TConnection  db,
entity 
)
protected
Type Constraints
T :class 

◆ InsertOrUpdate< T >()

void ATAS.DataFeedsCore.Database.Cache< TConnection >.InsertOrUpdate< T > ( TConnection  db,
entity 
)
protected
Type Constraints
T :class 

◆ InsertWithIdentityOrUpdate< T >()

void ATAS.DataFeedsCore.Database.Cache< TConnection >.InsertWithIdentityOrUpdate< T > ( TConnection  db,
entity,
Func< T, long >  getId,
Action< T, long >  setId 
)
protected
Type Constraints
T :class 

◆ LoadAllSecurities()

ICollection< Security > ATAS.DataFeedsCore.Database.Cache< TConnection >.LoadAllSecurities ( )

◆ LoadAllSwapValues()

ICollection< OvernightSwapValue > ATAS.DataFeedsCore.Database.Cache< TConnection >.LoadAllSwapValues ( )

◆ OnInit()

virtual void ATAS.DataFeedsCore.Database.Cache< TConnection >.OnInit ( TConnection  db)
protectedvirtual

◆ ProcessDb< T >()

T ATAS.DataFeedsCore.Database.Cache< TConnection >.ProcessDb< T > ( Func< TConnection, T >  action)
protected

◆ RaiseLoggingSettingsChanged()

override void ATAS.DataFeedsCore.Database.Cache< TConnection >.RaiseLoggingSettingsChanged ( string  propertyName = "")
protected

◆ Remove() [1/3]

void ATAS.DataFeedsCore.Database.Cache< TConnection >.Remove ( Exchange  exchange)

◆ Remove() [2/3]

void ATAS.DataFeedsCore.Database.Cache< TConnection >.Remove ( InstrumentExchange  instrumentExchange)

◆ Remove() [3/3]

void ATAS.DataFeedsCore.Database.Cache< TConnection >.Remove ( MyTrade  trade)

◆ Save() [1/18]

void ATAS.DataFeedsCore.Database.Cache< TConnection >.Save ( CommissionGroup  commissionGroup,
bool  wait = false 
)

◆ Save() [2/18]

void ATAS.DataFeedsCore.Database.Cache< TConnection >.Save ( Exchange  exchange,
bool  wait = false 
)

◆ Save() [3/18]

void ATAS.DataFeedsCore.Database.Cache< TConnection >.Save ( HistoryMyTrade  trade,
bool  wait = false 
)

◆ Save() [4/18]

void ATAS.DataFeedsCore.Database.Cache< TConnection >.Save ( IEnumerable< Security securities,
bool  wait = false 
)

◆ Save() [5/18]

void ATAS.DataFeedsCore.Database.Cache< TConnection >.Save ( InstrumentExchange  instrumentExchange,
bool  wait = false 
)

◆ Save() [6/18]

void ATAS.DataFeedsCore.Database.Cache< TConnection >.Save ( MyTrade  trade,
bool  wait = false 
)

◆ Save() [7/18]

void ATAS.DataFeedsCore.Database.Cache< TConnection >.Save ( News  news,
bool  wait = false 
)

◆ Save() [8/18]

void ATAS.DataFeedsCore.Database.Cache< TConnection >.Save ( Order  order,
bool  wait = false 
)

◆ Save() [9/18]

void ATAS.DataFeedsCore.Database.Cache< TConnection >.Save ( Portfolio  portfolio,
bool  extended,
bool  wait = false 
)

◆ Save() [10/18]

void ATAS.DataFeedsCore.Database.Cache< TConnection >.Save ( PortfolioChange  portfolioChange,
bool  wait = false 
)

◆ Save() [11/18]

void ATAS.DataFeedsCore.Database.Cache< TConnection >.Save ( PortfolioState  portfolioState,
bool  wait = false 
)

◆ Save() [12/18]

void ATAS.DataFeedsCore.Database.Cache< TConnection >.Save ( PortfolioViewer  viewer,
bool  wait = false 
)

◆ Save() [13/18]

void ATAS.DataFeedsCore.Database.Cache< TConnection >.Save ( Position  position,
bool  wait = false 
)

◆ Save() [14/18]

void ATAS.DataFeedsCore.Database.Cache< TConnection >.Save ( Security  security,
bool  wait = false 
)

◆ Save() [15/18]

void ATAS.DataFeedsCore.Database.Cache< TConnection >.Save ( SecurityMargin  margin,
bool  wait = false 
)

◆ Save() [16/18]

void ATAS.DataFeedsCore.Database.Cache< TConnection >.Save ( User  user,
bool  wait = false 
)

◆ Save() [17/18]

void ATAS.DataFeedsCore.Database.Cache< TConnection >.Save ( UserGroup  group,
bool  wait = false 
)

◆ Save() [18/18]

void ATAS.DataFeedsCore.Database.Cache< TConnection >.Save ( UserRole  role,
bool  wait = false 
)

◆ SetValue()

void ATAS.DataFeedsCore.Database.Cache< TConnection >.SetValue ( string  name,
string  value,
bool  wait = false 
)

◆ ToString()

override string ATAS.DataFeedsCore.Database.Cache< TConnection >.ToString ( )

Returns a string that represents the current object.

Returns
A string that represents the current object.

◆ TryGetCommissionGroup() [1/2]

CommissionGroup ATAS.DataFeedsCore.Database.Cache< TConnection >.TryGetCommissionGroup ( long  id)

◆ TryGetCommissionGroup() [2/2]

CommissionGroup ATAS.DataFeedsCore.Database.Cache< TConnection >.TryGetCommissionGroup ( Portfolio  portfolio)

◆ TryGetExchange()

Exchange ATAS.DataFeedsCore.Database.Cache< TConnection >.TryGetExchange ( string  code)

◆ TryGetInstrumentExchange() [1/2]

InstrumentExchange ATAS.DataFeedsCore.Database.Cache< TConnection >.TryGetInstrumentExchange ( string  instrument)

◆ TryGetInstrumentExchange() [2/2]

Exchange ATAS.DataFeedsCore.Database.Cache< TConnection >.TryGetInstrumentExchange ( string  instrument,
string  code 
)

◆ TryGetMyTrade()

MyTrade ATAS.DataFeedsCore.Database.Cache< TConnection >.TryGetMyTrade ( string  accountId,
string  tradeId,
bool  searchInDb 
)

◆ TryGetOrder()

Order ATAS.DataFeedsCore.Database.Cache< TConnection >.TryGetOrder ( string  accountId,
long  extId,
bool  searchInDb 
)

◆ TryGetPortfolio()

Portfolio ATAS.DataFeedsCore.Database.Cache< TConnection >.TryGetPortfolio ( string  accountId)

◆ TryGetPortfolioViewer()

PortfolioViewer ATAS.DataFeedsCore.Database.Cache< TConnection >.TryGetPortfolioViewer ( long  id)

◆ TryGetPosition()

Position ATAS.DataFeedsCore.Database.Cache< TConnection >.TryGetPosition ( string  accountId,
string  securityId 
)

◆ TryGetSecurityMargin()

SecurityMargin ATAS.DataFeedsCore.Database.Cache< TConnection >.TryGetSecurityMargin ( string  securityId)

◆ TryGetUserGroup()

UserGroup ATAS.DataFeedsCore.Database.Cache< TConnection >.TryGetUserGroup ( long  id)

◆ TryGetUserRole()

UserRole ATAS.DataFeedsCore.Database.Cache< TConnection >.TryGetUserRole ( long  id)

◆ Wait()

◆ WaitInitialized()

void ATAS.DataFeedsCore.Database.Cache< TConnection >.WaitInitialized ( )

Property Documentation

◆ CheckConsistency

bool ATAS.DataFeedsCore.Database.Cache< TConnection >.CheckConsistency
getset

◆ ClearCachePeriod

TimeSpan ATAS.DataFeedsCore.Database.Cache< TConnection >.ClearCachePeriod
getset

◆ ConfigurationName

string ATAS.DataFeedsCore.Database.Cache< TConnection >.ConfigurationName
get

◆ ConnectionString

string ATAS.DataFeedsCore.Database.Cache< TConnection >.ConnectionString
get

◆ IsInitialized

bool ATAS.DataFeedsCore.Database.Cache< TConnection >.IsInitialized
get

◆ LastExtId

long ATAS.DataFeedsCore.Database.Cache< TConnection >.LastExtId
get

◆ LastOrderId

long ATAS.DataFeedsCore.Database.Cache< TConnection >.LastOrderId
get

◆ LastTradeId

long ATAS.DataFeedsCore.Database.Cache< TConnection >.LastTradeId
get

◆ Provider

DataProviderBase ATAS.DataFeedsCore.Database.Cache< TConnection >.Provider
get

◆ ProviderName

string ATAS.DataFeedsCore.Database.Cache< TConnection >.ProviderName
get

The documentation for this class was generated from the following file: