Esempio n. 1
0
        public static void UpdatePortal(Portal_PortalsInfo portal)
        {
            DataAccessProvider.Instance().UpdatePortal(portal);
            DataCaching data = new DataCaching();

            data.RemoveCache(key);
        }
Esempio n. 2
0
        public static int AddPortal(Portal_PortalsInfo portal)
        {
            DataCaching data = new DataCaching();

            data.RemoveCache(key);
            return(DataAccessProvider.Instance().AddPortal(portal));
        }
Esempio n. 3
0
        public static void AddPortalFollowLang(Portal_PortalsInfo portal)
        {
            DataAccessProvider.Instance().AddPortalFollowLang(portal);
            DataCaching data = new DataCaching();

            data.RemoveCache(key);
        }
Esempio n. 4
0
 public override void AddPortalFollowLang(Portal_PortalsInfo portal)
 {
     SqlHelper.ExecuteNonQuery(this.ConnectionString, "Portal_Portals_InsertFollowLang", portal.PortalID, portal.Lang, portal.Portal_Name, portal.Portal_Description);
 }
Esempio n. 5
0
        public static Portal_PortalsInfo GetPortalsInfoByLang(int portalId)
        {
            Portal_PortalsInfo portalsInfo = DataAccessProvider.Instance().GetPortalsInfoByLang(portalId);

            return(portalsInfo);
        }
Esempio n. 6
0
 public override int AddPortal(Portal_PortalsInfo portal)
 {
     return (int)SqlHelper.ExecuteScalar(this.ConnectionString, "Portal_Portals_Insert", portal.Visible, portal.Active, portal.ImageUrl, portal.Portal_ParentId, portal.Priority);
 }
Esempio n. 7
0
 public override void UpdatePortal(Portal_PortalsInfo portal)
 {
     SqlHelper.ExecuteNonQuery(this.ConnectionString, "Portal_Portals_Update", portal.PortalID, portal.Visible, portal.Active, portal.ImageUrl,
                                          portal.Lang, portal.Portal_Name, portal.Portal_Description, portal.Portal_ParentId, portal.Priority, portal.TabDefault);
 }
Esempio n. 8
0
 public static void AddPortalFollowLang(Portal_PortalsInfo portal)
 {
     DataAccessProvider.Instance().AddPortalFollowLang(portal);
     DataCaching data = new DataCaching();
     data.RemoveCache(key);
 }
Esempio n. 9
0
 public static void UpdatePortal(Portal_PortalsInfo portal)
 {
     DataAccessProvider.Instance().UpdatePortal(portal);
     DataCaching data = new DataCaching();
     data.RemoveCache(key);
 }
Esempio n. 10
0
 public static int AddPortal(Portal_PortalsInfo portal)
 {
     DataCaching data = new DataCaching();
        data.RemoveCache(key);
        return DataAccessProvider.Instance().AddPortal(portal);
 }