public static int AddRole(RoleInfo role) { int id = DataAccessProvider.Instance().AddRole(role); DataCaching data = new DataCaching(); data.RemoveCache(key); return id; }
public static int AddCommand(CommandInfo command) { int id = DataAccessProvider.Instance().AddCommand(command); DataCaching data = new DataCaching(); data.RemoveCache(key); return id; }
public static int AddModuleControl(ModuleControlInfo moduleControl) { int id = DataAccessProvider.Instance().AddModuleControl(moduleControl); DataCaching data = new DataCaching(); data.RemoveCache(key); return id; }
public static void AddUserToRole(int userId, int roleId, int portalId) { DataAccessProvider.Instance().AddUserToRole(userId, roleId, portalId); DataCaching data = new DataCaching(); data.RemoveCache("VmgPortal.Portal.User"); data.RemoveCache("VmgPortal.Portal.Portal"); }
/// <summary> /// Build recursive role permission by roleid and portalid /// Return table with multi level /// </summary> /// <param name="dtCommand"></param> /// <param name="dtReturnCommand"></param> /// <param name="roleid"></param> /// <param name="portalid"></param> /// <returns></returns> public static DataTable BuildRecursiveRolePermission(DataTable dtCommand, DataTable dtReturnCommand, int roleid, int portalid) { DataRow[] dtItems = GetRolePermissionByParentID(dtCommand, 0); foreach (DataRow row in dtItems) { DataRow rowItem = dtReturnCommand.NewRow(); rowItem["CommandID"] = row["CommandID"].ToString(); rowItem["PortalID"] = portalid.ToString(); rowItem["CommandParentID"] = row["CommandParentID"].ToString(); rowItem["RoleID"] = roleid.ToString(); rowItem["CommandName"] = "<font color=\"Blue\">" + row["CommandName"].ToString() + "</font>"; rowItem["Role_View"] = row["Role_View"].ToString(); rowItem["Role_Add"] = row["Role_Add"].ToString(); rowItem["Role_Update"] = row["Role_Update"].ToString(); rowItem["Role_Delete"] = row["Role_Delete"].ToString(); //rowItem["UseForWeb"] = row["UseForWeb"].ToString(); //rowItem["UseForWap"] = row["UseForWap"].ToString(); //rowItem["UseForSMS"] = row["UseForSMS"].ToString(); //rowItem["UseForXzone"] = row["UseForXzone"].ToString(); rowItem["Level"] = "0"; dtReturnCommand.Rows.Add(rowItem); LoadRolePermissionForCur(dtCommand, rowItem, dtReturnCommand); } DataCaching data = new DataCaching(); data.RemoveCache("VmgPortal.Portal.Command.GetCommandsForUserNotGroup"); return dtReturnCommand; }
public static int AddModule(ModuleInfo module) { int id = DataAccessProvider.Instance().AddModule(module); DataCaching data = new DataCaching(); return id; }
public static DataTable GetModules() { const string key = "VmgPortal.Portal.Module.GetModules"; DataCaching data = new DataCaching(); DataTable dtModuleControls = (DataTable)data.GetCache(key); if (dtModuleControls != null) return dtModuleControls; return DataAccessProvider.Instance().GetModules(); }
public static PortalSetting GetSetting() { DataCaching data = new DataCaching(); PortalSetting setting = (PortalSetting)data.GetCache(key); if (setting != null) return setting; setting = DataAccessProvider.Instance().GetPortalSetting(); data.InsertCacheNoExpireTime(key, setting); return setting; }
public static DataTable GetPortals(int _userid, string _lang) { string param = "GetPortals?userid=" + _userid + "&lang=" + _lang; DataCaching data = new DataCaching(); DataTable dtPortals = (DataTable)data.GetHashCache(key, param); if (dtPortals != null) return dtPortals; dtPortals = DataAccessProvider.Instance().GetPortalsByUserIDAndLang(_userid, _lang); data.SetHashCache(key, param, AppEnv.GetTimeCacheExpire(), dtPortals); return dtPortals; }
public static DataTable GetModuleControls(int moduleId) { string param = "GetModuleControls?moduleId=" + moduleId; DataCaching data = new DataCaching(); DataTable dtModuleControls = (DataTable)data.GetHashCache(key, param); if (dtModuleControls != null) return dtModuleControls; dtModuleControls = DataAccessProvider.Instance().GetModuleControls(moduleId); data.SetHashCache(key, param, AppEnv.GetTimeCacheExpire(), dtModuleControls); return dtModuleControls; }
public static ModuleControlInfo GetModuleControl(string controlKey) { string param = "GetModuleControl?controlKey=" + controlKey.ToString(); DataCaching data = new DataCaching(); ModuleControlInfo setting = (ModuleControlInfo)data.GetHashCache(key, param); if (setting != null) return setting; setting = DataAccessProvider.Instance().GetModuleControl(controlKey); data.SetHashCache(key, param, AppEnv.GetTimeCacheExpire(), setting); return setting; }
public static DataTable GetModuleControls(int tabId, string position) { string param = "GetModuleControls?tabId=" + tabId.ToString() + "&position=" + position; DataCaching data = new DataCaching(); DataTable dtModuleControls = (DataTable)data.GetHashCache(key, param); if (dtModuleControls != null) return dtModuleControls; dtModuleControls = DataAccessProvider.Instance().GetModuleControls(tabId, position); data.SetHashCache(key, param, AppEnv.GetTimeCacheExpire(), dtModuleControls); return dtModuleControls; }
public static CommandInfo GetCommand(string commandKey) { string param = "GetCommand?key" + commandKey; DataCaching data = new DataCaching(); CommandInfo _CommandInfo = (CommandInfo)data.GetHashCache(key, param); if (_CommandInfo != null) return _CommandInfo; _CommandInfo = DataAccessProvider.Instance().GetCommand(commandKey); data.SetHashCache(key, param, AppEnv.GetTimeCacheExpire(), _CommandInfo); return _CommandInfo; }
public static ModuleSetting GetModuleSettings(int moduleId) { const string key = "VmgPortal.Portal.ModuleControl.GetModuleSettings"; string param = moduleId.ToString(); DataCaching data = new DataCaching(); ModuleSetting setting = (ModuleSetting)data.GetHashCache(key, param); if (setting != null) return setting; setting = DataAccessProvider.Instance().GetModuleSettings(moduleId); data.SetHashCache(key, param, AppEnv.GetTimeCacheExpire(), setting); return setting; }
public static DataTable GetCommandByCmdId(int commandid) { string param = "GetCommandByCmdId_" + commandid; DataCaching data = new DataCaching(); DataTable dtCommands = (DataTable)data.GetHashCache(key, param); if (dtCommands != null) return dtCommands; dtCommands = DataAccessProvider.Instance().GetCommandByCmdId(commandid); data.SetHashCache(key, param, AppEnv.GetTimeCacheExpire(), dtCommands); return dtCommands; //return DataAccessProvider.Instance().GetCommandByCmdId(commandid); }
//Artist public static DataTable GetArtistTopHasCache(int top) { DataCaching data = new DataCaching(); string key = "W4A_Music_Artist.GetArtistTop"; string param = "top=" + top; DataTable dtRetval = (DataTable)data.GetHashCache(key, param); if (dtRetval != null && dtRetval.Rows.Count > 0) { return(dtRetval); } else { DataTable dtPortals = GetArtistTop(top); data.SetHashCache(key, param, GetExpire(), dtPortals); return(dtPortals); } }
public static DataTable GetStyleByIDHasCache(string id) { DataCaching data = new DataCaching(); string key = "W4A_Music_Style.GetStyleByID"; string param = "id=" + id; DataTable dtRetval = (DataTable)data.GetHashCache(key, param); if (dtRetval != null && dtRetval.Rows.Count > 0) { return(dtRetval); } else { DataTable dtPortals = GetStyleByID(id); data.SetHashCache(key, param, GetExpire(), dtPortals); return(dtPortals); } }
// public static DataTable Setting_Category_GetAllByParentIDHasCache(int parentID, int portalID) { DataCaching data = new DataCaching(); string key = "Wap_Setting.Category_GetAllByParentID"; string param = "parentID=" + parentID.ToString() + "&portalID=" + portalID.ToString(); DataTable dtRetval = (DataTable)data.GetHashCache(key, param); if (dtRetval != null && dtRetval.Rows.Count > 0) { return(dtRetval); } else { DataTable dtPortals = Setting_Category_GetAllByParentID(parentID, portalID); data.SetHashCache(key, param, GetExpire(), dtPortals); return(dtPortals); } }
//Lay tat ca chuyen muc hinh nen va order theo thu tu public static DataTable GetAllCategoryExeptCatIDHasCache(string telCo, int displayType, int catID) { DataCaching data = new DataCaching(); string key = "W4A_Wap_Wallpaper.GetAllCategoryExeptCatID"; string param = "telCo=" + telCo + "&display=" + displayType + "&catid=" + catID; DataTable dtRetval = (DataTable)data.GetHashCache(key, param); if (dtRetval != null && dtRetval.Rows.Count > 0) { return(dtRetval); } else { DataTable dtPortals = GetAllCategoryExeptCatID(telCo, displayType, catID); data.SetHashCache(key, param, GetExpire(), dtPortals); return(dtPortals); } }
//Lay thong tin chuyen muc public static DataTable CPConfig_GetByWap_IDHasCache(int wap_ID) { DataCaching data = new DataCaching(); string key = "Wap_CPConfig.GetByWap_ID"; string param = "wap_ID=" + wap_ID.ToString(); DataTable dtRetval = (DataTable)data.GetHashCache(key, param); if (dtRetval != null && dtRetval.Rows.Count > 0) { return(dtRetval); } else { DataTable dtPortals = CPConfig_GetByWap_ID(wap_ID); data.SetHashCache(key, param, GetExpire(), dtPortals); return(dtPortals); } }
//Lay thong tin hinh nen public static DataTable GetWallpaperDetailByIDHasCache(string telCo, int ID) { DataCaching data = new DataCaching(); string key = "W4A_Wap_Wallpaper.Item_GetInfo"; string param = "telCo=" + telCo + "@id=" + ID; DataTable dtRetval = (DataTable)data.GetHashCache(key, param); if (dtRetval != null && dtRetval.Rows.Count > 0) { return(dtRetval); } else { DataTable dtPortals = GetWallpaperDetailByID(telCo, ID); data.SetHashCache(key, param, GetExpire(), dtPortals); return(dtPortals); } }
//Lay thong tin chuyen muc public static DataTable GetCategoryByCatIDHasCache(int ID) { DataCaching data = new DataCaching(); string key = "W4A_Wap_Wallpaper.Category_GetInfo"; string param = "id=" + ID; DataTable dtRetval = (DataTable)data.GetHashCache(key, param); if (dtRetval != null && dtRetval.Rows.Count > 0) { return(dtRetval); } else { DataTable dtPortals = GetCategoryByCatID(ID); data.SetHashCache(key, param, GetExpire(), dtPortals); return(dtPortals); } }
//Lấy thông tin của Partner theo ID public static DataTable Partner_GetInfoHasCache(int partnerID) { DataCaching data = new DataCaching(); string key = "Partner_GetInfo"; string param = "partnerID=" + partnerID; DataTable dtRetval = (DataTable)data.GetHashCache(key, param); if (dtRetval != null && dtRetval.Rows.Count > 0) { return(dtRetval); } else { dtRetval = Partner_GetInfo(partnerID); data.SetHashCache(key, param, GetExpire(), dtRetval); return(dtRetval); } }
//Search App Agent public static DataTable GetAllApp_ItemByKeyAndAgent(string telCo, string strKeySearch, User_AgentInfo _info, int pagesize, int pageIndex, out int totalRecord) { DataCaching data = new DataCaching(); string key = "W4A_Wap_App.GetAllApp_ItemByKeyAndAgent"; string param = "telCo=" + telCo + "&KeySearch=" + strKeySearch + "&info=" + _info.model_name; DataTable dtRetval = (DataTable)data.GetHashCache(key, param); if (dtRetval == null || dtRetval.Rows.Count == 0) { DataTable dtCat = GetAllApp_ItemByKey(telCo, strKeySearch, 9999, 1, out totalRecord); //Xoá những game không hỗ trợ for (int i = 0; i < totalRecord; i++) { if (!MobileUtils.CheckValidModel(dtCat.Rows[i]["ModelSupport"].ToString(), _info)) { dtCat.Rows[i].Delete(); } } dtCat.AcceptChanges(); //Ghi vào cache data.SetHashCache(key, param, GetExpire(), dtCat); dtRetval = dtCat; } totalRecord = dtRetval.Rows.Count; // int vFrom = ((pageIndex - 1) * pagesize); int vTo = pageIndex * pagesize; if (vTo > totalRecord) { vTo = totalRecord; } DataTable dtReturn = dtRetval.Clone(); for (int i = vFrom; i < vTo; i++) { dtReturn.ImportRow(dtRetval.Rows[i]); } return(dtReturn); }
/// <summary> /// Gets the product detail by category. /// </summary> /// <param name="category">The category.</param> /// <returns></returns> public List <ProductDetail> GetProductDetailByCategory(string category) { // Build a cacheKey string cacheKey = "GetProductDetailByCategory-" + category; // Try and retrieve the data from the cache List <ProductDetail> productDetails = DataCaching.Get <List <ProductDetail> >(cacheKey); if (productDetails == null) { // Retrieve from the database ProductData productData = new ProductData(); productDetails = productData.GetProductDetailByCategory(category); // Add into cache DataCaching.Add(productDetails, cacheKey); } return(productDetails); }
//Xác thực Partner theo KeyCode public static Boolean Partner_Authenticate(int partnerID, string KeyCode) { DataCaching data = new DataCaching(); string key = "Partner_GetInfo"; string param = "partnerID=" + partnerID; DataTable dtRetval = (DataTable)data.GetHashCache(key, param); if (dtRetval == null || dtRetval.Rows.Count == 0) { dtRetval = Partner_GetInfo(partnerID); data.SetHashCache(key, param, GetExpire(), dtRetval); } if (dtRetval.Rows[0]["KeyCode"].ToString() == KeyCode) { return(true); } else { return(false); } }
//-------------------- CONSTRUCTOR -------------------------------------------------------------------------------------- public Statistic_Window(Configuration configuration, Features.Window_Mode opening_mode) { Features.openedWindow = Features.Window_type.Statistic; InitializeComponent(); no_detection = true; DM_realtime = true; CoT_realtime = true; this.opening_mode = opening_mode; this.configuration = configuration; this.configurationName.Text = configuration.ConfigurationID; update_Graph = new DispatcherTimer(); update_Stats = new DispatcherTimer(); timeout = new DispatcherTimer(); configuration_boards = configuration.Boards; devices_position = new List <Position>(); frequentMACs = new List <FrequentMAC>(); activity_timeline = new Dictionary <DateTime, TimeSpan>(); dataCaching = new DataCaching(configuration.ConfigurationID); _lockObject = new object(); }
protected void btnEng_Click(object sender, EventArgs e) { AppEnv.SetLanguage("en-US"); string curUrl = Request.RawUrl; string newUrl = string.Empty; if (curUrl.IndexOf("&lang") > -1) { newUrl = curUrl.Substring(0, curUrl.IndexOf("&lang")); } else if (curUrl.IndexOf("?lang") > -1) { newUrl = curUrl.Substring(0, curUrl.IndexOf("?lang")); } else { newUrl = curUrl; } DataCaching data = new DataCaching(); data.RemoveCache("VmgPortal.Portal.Command"); Response.Redirect(newUrl); }
public static void AddCommandByLang(CommandInfo command, string lang) { DataAccessProvider.Instance().AddCommandByLang(command, lang); DataCaching data = new DataCaching(); data.RemoveCache(key); }
public System.Threading.Tasks.Task <object> QueryAsync(Command command, DataVeracity veracity = DataVeracity.Maximum, DataCaching cacheOpt = DataCaching.LatestData, int?cacheMaxAgeSec = null, ISession session = null) { throw new NotImplementedException(); }
public static void DeleteCommand(int commandId) { DataAccessProvider.Instance().DeleteCommand(commandId); DataCaching data = new DataCaching(); data.RemoveCache(key); }
public static void DeleteRole(int roleId) { DataAccessProvider.Instance().DeleteRole(roleId); DataCaching data = new DataCaching(); data.RemoveCache(key); }
public static void DeleteModule(int moduleId) { DataAccessProvider.Instance().DeleteModule(moduleId); DataCaching data = new DataCaching(); }
public static void UpdateRolePermissionByPortalID(int roleid, int commandId, int portalId, bool web, bool wap, bool sms, bool xzone, bool view, bool add, bool update, bool delete) { DataCaching data = new DataCaching(); data.RemoveCache("VmgPortal.Portal.Command.GetCommandsForRoleByPortalID"); DataAccessProvider.Instance().UpdateRolePermissionByPortalID(commandId, roleid, portalId,web, wap,sms, xzone, view, add, update, delete); }
public void Save(Parcel parcel, DataCaching cacheOpt = DataCaching.Everywhere, int?cachePriority = null, int?cacheMaxAgeSec = null, DateTime?cacheAbsoluteExpirationUTC = null) { throw new NotImplementedException(); }
public static HtmlString BindMenus(this HtmlHelper html) { if (MySession.Current.RoleID.IsNotBlank() && MySession.Current.UserId.IsNotBlank()) { string cacheKey = "cacheMenuList"; var menuHtml = DataCaching.Get <HtmlString>(cacheKey); if (menuHtml.IsBlank()) { using (var db = new PCVEntities()) { StringBuilder sb = new StringBuilder(); // HelperMenuModel var rawMenus = db.UserMenus.Where(aa => aa.UserId == MySession.Current.UserId).ToList().Select(m => new HelperMenuModel() { MenuId = m.MenuId, MenuName = m.Menu.MenuName, ParentId = m.Menu.ParentId, Url = m.Menu.Url, Tooltip = m.Menu.Tooltip, // Description = m.Menu.Description, UserId = m.UserId, RoleId = "", InActive = m.InActive, Priority = m.Menu.Priority }).Union(db.MenuInRole.Where(bb => bb.RoleId == MySession.Current.RoleID).ToList().Select(m => new HelperMenuModel() { MenuId = m.MenuId, MenuName = m.Menu.MenuName, ParentId = m.Menu.ParentId, Url = m.Menu.Url, Tooltip = m.Menu.Tooltip, // Description = m.Menu.Description, UserId = "", RoleId = m.RoleId, InActive = m.InActive, Priority = m.Menu.Priority })).GroupBy(ss => ss.MenuId, (key, group) => group.First()).ToList(); if (rawMenus.IsNotBlank()) { var data = rawMenus.Select(m => new HelperMenuModel() { MenuId = m.MenuId, MenuName = m.MenuName, ParentId = m.ParentId, Url = m.Url, Tooltip = m.Tooltip, Description = m.Description, UserId = "", RoleId = m.RoleId, InActive = m.InActive, Priority = m.Priority, ChildMenus = rawMenus.Where(c => c.ParentId == m.MenuId).ToList(), }).OrderBy(zz => zz.Priority).Where(x => x.ParentId == 0).ToList(); sb.Append("<div class='nav-collapse collapse navbar-collapse navbar-responsive-collapse header-nav-links'>"); sb.Append("<ul class='nav navbar-nav'>"); foreach (var item in data) { if (item.ChildMenus.Count == 0) {//parent withot child var menuIconClass = "icon-layers"; if (item.MenuName.ToLower().Contains("dashboard")) { menuIconClass = "icon-home"; } sb.Append(" <li class=''>"); sb.Append("<a href ='" + item.Url + "' class='text-uppercase'>"); sb.Append("<i class='" + menuIconClass + "'></i> " + item.MenuName + "</a>"); sb.Append("</li>"); } else { //parent with child sb.Append(" <li class='dropdown more-dropdown'>"); sb.Append("<a href ='javascript:;' class='text-uppercase'>"); sb.Append("<i class='icon-layers'></i> " + item.MenuName + "</a>"); sb.Append("<ul class='dropdown-menu'>"); foreach (var inMenu in item.ChildMenus) { var menuIconClass = "icon-briefcase"; if (inMenu.MenuName.ToLower().Contains("user")) { menuIconClass = "icon-users"; } sb.Append("<li >"); sb.Append("<a href ='" + inMenu.Url + "' class='text-uppercase'>"); sb.Append("<i class='" + menuIconClass + "'></i> " + inMenu.MenuName + "</a>"); sb.Append("</li>"); } sb.Append("</ul>"); sb.Append("</li>"); } } sb.Append("</ul>"); sb.Append("</div>"); HtmlString result = new HtmlString(sb.ToString()); DataCaching.Add(result, cacheKey, DataCaching.EnumCacheTimeFrame.AddMinutes, AppConfiguration.CacheTimeInMins); return(result); } } } else { return(menuHtml); } } return(new HtmlString("")); }
public static DataTable GetPortalsByParentId(int userId,int portal_ParentId) { string param = "GetPortalsByParentId?userid=" + userId + "&portalId=" + portal_ParentId.ToString() + "&" + AppEnv.GetLanguage(); DataCaching data = new DataCaching(); DataTable dt = (DataTable)data.GetHashCache(key, param); if (dt != null) return dt; dt = DataAccessProvider.Instance().GetPortalsByParentId(userId,portal_ParentId); data.SetHashCache(key, param, AppEnv.GetTimeCacheExpire(), dt); return dt; }
public static void UpdateModule(ModuleInfo module) { DataAccessProvider.Instance().UpdateModule(module); DataCaching data = new DataCaching(); }
public static void SetValue(string settingName, string settingValue, string param1, string param2) { DataAccessProvider.Instance().SetPortalSetting(settingName, settingValue, param1, param2); DataCaching data = new DataCaching(); data.RemoveCache(key); }
public Parcel Load(Type tParcel, GDID id, object shardingId = null, DataVeracity veracity = DataVeracity.Maximum, DataCaching cacheOpt = DataCaching.LatestData, int?cacheMaxAgeSec = null, ISession session = null) { throw new NotImplementedException(); }
public System.Threading.Tasks.Task <T> LoadAsync <T>(GDID id, object shardingId = null, DataVeracity veracity = DataVeracity.Maximum, DataCaching cacheOpt = DataCaching.LatestData, int?cacheMaxAgeSec = null, ISession session = null) where T : Parcel { throw new NotImplementedException(); }
public object Query(Command command, DataVeracity veracity = DataVeracity.Maximum, DataCaching cacheOpt = DataCaching.LatestData, int?cacheMaxAgeSec = null, ISession session = null) { throw new NotImplementedException(); }
/// <summary> /// Remove command from role by PortalID /// Add by Dungnt2 /// </summary> /// <param name="commandId"></param> /// <param name="roleId"></param> public static void RemoveCommandFromRoleByPortalID(int commandId, int roleId, int portalID) { DataAccessProvider.Instance().RemoveCommandFromRoleByPortalID(commandId, roleId, portalID); DataCaching data = new DataCaching(); data.RemoveCache("VmgPortal.Portal.Command"); }
public static int AddPortal(Portal_PortalsInfo portal) { DataCaching data = new DataCaching(); data.RemoveCache(key); return DataAccessProvider.Instance().AddPortal(portal); }
public static void UpdateRole(RoleInfo role) { DataAccessProvider.Instance().UpdateRole(role); DataCaching data = new DataCaching(); data.RemoveCache(key); }
public static void UpdatePortal(Portal_PortalsInfo portal) { DataAccessProvider.Instance().UpdatePortal(portal); DataCaching data = new DataCaching(); data.RemoveCache(key); }
public static void UpdateCommand(CommandInfo command) { DataAccessProvider.Instance().UpdateCommand(command); DataCaching data = new DataCaching(); data.RemoveCache(key); }
public static void AddPortalFollowLang(Portal_PortalsInfo portal) { DataAccessProvider.Instance().AddPortalFollowLang(portal); DataCaching data = new DataCaching(); data.RemoveCache(key); }
public System.Threading.Tasks.Task <Parcel> LoadByQueryAsync(Command loadCommand, DataVeracity veracity = DataVeracity.Maximum, DataCaching cacheOpt = DataCaching.LatestData, int?cacheMaxAgeSec = null) { throw new NotImplementedException(); }
public static void DeletePortal(int portalId) { DataCaching data = new DataCaching(); data.RemoveCache(key); DataAccessProvider.Instance().DeletePortal(portalId); }
public static void UpdateModule(ModuleInfo module) { DataAccessProvider.Instance().UpdateModule(module); DataCaching data = new DataCaching(); }
public static void DeleteModule(int moduleId) { DataAccessProvider.Instance().DeleteModule(moduleId); DataCaching data = new DataCaching(); }
public System.Threading.Tasks.Task SaveAsync(Parcel parcel, DataCaching cacheOpt = DataCaching.Everywhere, int?cachePriority = null, int?cacheMaxAgeSec = null, DateTime?cacheAbsoluteExpirationUTC = null, ISession session = null) { throw new NotImplementedException(); }
public Parcel LoadByQuery(Command loadCommand, DataVeracity veracity = DataVeracity.Maximum, DataCaching cacheOpt = DataCaching.LatestData, int?cacheMaxAgeSec = null) { throw new NotImplementedException(); }
/// <summary> /// Delete data cache. /// </summary> public static void ResetData() { DataCaching <object> .RemoveCache(); }
public T LoadByID <T>(GDID id, object shardingId = null, DataVeracity veracity = DataVeracity.Maximum, DataCaching cacheOpt = DataCaching.LatestData, int?cacheMaxAgeSec = null) where T : Parcel { throw new NotImplementedException(); }