Data access component for the StringResources table. This type is thread safe.
Inheritance: IDisposable
Esempio n. 1
0
        /// <summary>
        /// Constructs this instance of the provider
        /// supplying a resource type for the instance.
        /// </summary>
        /// <param name="resourceType">The resource type.</param>
        public DBResourceProvider(string classKey)
        {
            Debug.WriteLine(String.Format(CultureInfo.InvariantCulture, "DBResourceProvider.DBResourceProvider({0}", classKey));

            this.m_classKey = classKey;
            m_dalc          = new StringResourcesDALC(classKey);
        }
        /// <summary>
        /// Constructs this instance of the provider 
        /// supplying a resource type for the instance. 
        /// </summary>
        /// <param name="resourceType">The resource type.</param>
        public DBResourceProvider(string classKey)
        {
            Debug.WriteLine(String.Format(CultureInfo.InvariantCulture, "DBResourceProvider.DBResourceProvider({0}", classKey));

            this.m_classKey = classKey;
            m_dalc = new StringResourcesDALC(classKey);
        }