Click here to Skip to main content
15,896,348 members
Articles / Programming Languages / Visual Basic

Oracle Advance Queue or Advanced Queuing from .NET (C#/VB/MC++)

Rate me:
Please Sign up or sign in to vote.
4.88/5 (26 votes)
22 Nov 2005CPOL23 min read 178K   3.7K   71  
How to use Oracle advance queue from a .NET enviroment.
using System;
using System.Collections;

namespace DBTypes
{
	public class Tm_Messagefiles_Va : System.Collections.CollectionBase
	{
		#region Constructors
		public Tm_Messagefiles_Va()
		{
		}
		#endregion

		#region Methods
		public void Add(Tm_Messagefile_Ty obj)
		{
			this.InnerList.Add(obj);
		}

		public void Remove(Tm_Messagefile_Ty obj)
		{
			if (this.InnerList.Contains(obj))
				this.InnerList.Remove(obj);
		}
		#endregion

		#region Indexers
		public Tm_Messagefile_Ty this[int index]
		{
			get
			{
				if (index >= this.InnerList.Count || index < 0)
				{
					return null;
				}
				return (Tm_Messagefile_Ty) this.InnerList[index];
			}
			set
			{
				this.InnerList[index] = value;
			}
		}
		#endregion
	}
}

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
Software Developer Microsoft
United States United States
I started with programming about 19 years ago as a teenager, from my old Commodore moving to PC/Server environment Windows/UNIX SQLServer/Oracle doing gwBasic, QBasic, Turbo Pascal, Assembler, Turbo C, BC, Summer87, Clipper, Fox, SQL, C/C++, Pro*C, VB3/5/6, Java, and today loving C#.

Currently working as SDE on Failover Clustering team for Microsoft.

Passion for most programming languages and my kids Aidan&Nadia.

Comments and Discussions