Exemplo n.º 1
0
        public void Post(ISite site)
        {
            ISiteWebConfiguration webconfig = site.GetConfiguration();

            if (webconfig == null)
            {
                return;
            }

            IEnumerable <SiteConnectionString> connectionStrings = site.GetRawConnectionStrings();

            if (connectionStrings == null)
            {
                return;
            }
            WebTransfer.PostSiteConnectionString(connectionStrings);
        }
Exemplo n.º 2
0
        public static IEnumerable <SiteConnectionString> GetConnectionStrings(this ISite site)
        {
            IEnumerable <SiteConnectionString> connectionStrings = site.GetRawConnectionStrings();

            return(connectionStrings);
        }