Click here to Skip to main content
15,891,657 members
Articles / Database Development / MySQL

Intergrating MySql with Enterprise Library for .NET Framework 2.0

Rate me:
Please Sign up or sign in to vote.
3.73/5 (12 votes)
7 May 2007CPOL4 min read 126K   2.5K   44  
An article on adding a MySql connector into Enterprise Library for .NET Framework 2.0
//===============================================================================
// Microsoft patterns & practices Enterprise Library
// Data Access Application Block
//===============================================================================
// Copyright � Microsoft Corporation.  All rights reserved.
// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY
// OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT
// LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
// FITNESS FOR A PARTICULAR PURPOSE.
//===============================================================================

using System;
using System.ComponentModel;
using System.Windows.Forms;
using Microsoft.Practices.EnterpriseLibrary.Configuration.Design;
using Microsoft.Practices.EnterpriseLibrary.Data.Oracle.Configuration;
using Microsoft.Practices.EnterpriseLibrary.Data.Configuration.Design.Properties;

namespace Microsoft.Practices.EnterpriseLibrary.Data.Configuration.Design
{
    /// <summary>
	/// Represents the <see cref="OracleConnectionSettings"/> configuration section.
    /// </summary>    
	[Image(typeof(OracleConnectionElementNode))]
	public sealed class OracleConnectionElementNode : ConfigurationNode
    {
		/// <summary>
		/// Initialize a new instance of the <see cref="OracleConnectionElementNode"/> class.
		/// </summary>
		public OracleConnectionElementNode()
			: base(Resources.OraclePackagesNodeName)
		{
			
		}

		/// <summary>
		/// Gets the name of the node.
		/// </summary>
		/// <value>
		/// The name of the node.
		/// </value>
		/// <remarks>
		/// Overridden to make readonly for the design tool. 
		/// </remarks>
		[ReadOnly(true)]
		public override string Name
		{
			get
			{
				return base.Name;
			}			
		}		
	}
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Web Developer
United Kingdom United Kingdom
I've been a programmer for longer than I care to remember. It all started with those BBC (model B's) at school, it all went down hill from there.....

This year, I am mostly coding in.. C# (WPF & WCF)

Blog Address http://markpm.blogspot.com


Comments and Discussions