hi craig,

okay...we understand about the _ContentBaseDefinition concern... it's not a
big deal though...

i have coding question... i am not really an expert of this... for example
in the flexwiki.config file, there is already a namespace of type
sqlprovider... and have it set as the default namespace... how do i get the
ConnectionString value? for example, i would like to create an accessor
method just like the filesystem provider wherein the Root or directory of a
filesystem namespace is set by default... my code below returns nothing :(
... thus, i know it isnt right...

private string DefaultedConnectionString
        {
            get
            {
                FederationConfiguration config = new
FederationConfiguration();
                NamespaceProviderParameter parm = new
NamespaceProviderParameter();
                foreach (NamespaceProviderDefinition provider in
config.NamespaceMappings)
                {
                    foreach (NamespaceProviderParameter each in
provider.Parameters)
                    {
                        if (each.Name == "ConnectionString")
                        {
                            parm = each;
                            break;
                        }
                    }
                }
                return parm.Value;
            }
        }

the concern is basically how to retrieve the ConnectionString value in the
flexwiki.config file... and have it set as the default for sqlprovider
namespace creation...

many thanks,
helen
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Flexwiki-users mailing list
Flexwiki-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flexwiki-users

Reply via email to