By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,780 Members | 1,523 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,780 IT Pros & Developers. It's quick & easy.


P: n/a
I am just learning C# so excuse the simplicity of this question. I work at
Seagate Technology and I want to be able to create a .NET assembly specific
to our Oracle database. I want to do something like this:

using System;

namespace Seagate.Oracle
/// <summary>
/// Summary description for Connection.
/// </summary>
public class Connection
public Connection()
// TODO: Add constructor logic here

public static void Open()

Now, I am also using Oracle's ODP.NET data provider and I want to be able to
reference classes from the Oracle.DataAccess.Client namespace within my
Seagate.Oracle namespace, but it doesn't work. Whenever I want to reference
a class from the Oracle.DataAccess.Client namespace, it always resolves to
Seagate.Oracle first. For example, I would like the Open method to look
like this:

public static void Open(Oracle.DataAccess.Client.OracleConnection conn)

but as soon as I type Oracle. it resolves to Seagate.Oracle instead of
Oracle.DataAcess.Client and the autocomplete wants to finish the statement
as Seagate.Oracle.Connection. Is there a way to reference the
Oracle.DataAccess.Client namespace from within the Seagate.Oracle namespace
without me having to change the name of my namespace to be different than
the Oracle namespace?

Oh and yes, I have added the reference to Oracle.DataAccess.Client to my

Any help is greatly appreciated.
Nov 17 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.