⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 orderscollection.cs

📁 简单的cI真的是很简单 你想要就下载吧
💻 CS
字号:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections;

namespace VinciDataAccess.Entity
{
    /// <summary>    
    /// Name:Wicresoft's Vinci Item
    /// Author:Tony Tong
    /// Time:2008.2.20
    /// </summary>    
    public class OrdersCollection:CollectionBase
    {
        #region Create the Orders Class Index
        public OrdersEntity this[int nIdex]
        {

            get
            {
                return (OrdersEntity)List[nIdex];
            }
            set
            {
                List[nIdex] = value;
            }
        }
        #endregion
        #region Add the Orders's Object into the List congregate
        public int Add(OrdersEntity order)
        {
            return List.Add(order);
        }
        #endregion
        #region Prevail the Orders's Object Index With the List.
        /// <summary>
        /// If this can't find a contain char this Method will return -1
        /// </summary>
        /// <param name="customer"></param>
        /// <returns></returns>
        public int IndexOf(OrdersEntity order)
        {
            return List.IndexOf(order);
        }
        #endregion
        #region Add the Orders's Object on the List's Index
        public void Insert(int nIdex, OrdersEntity order)
        {
            List.Insert(nIdex, order);
        }
        #endregion
        #region Remove the Orders's Object into the List
        public void Remove(OrdersEntity order)
        {
            List.Remove(order);
        } 
        #endregion 
        #region Judge the Object whether Exist into the List
        public bool Contains(OrdersEntity order)
        {
            return List.Contains(order);
        }
        #endregion
        #region Copy the Object to the List's Index location
        public void CopyTo(OrdersEntity[] orders, int nIdex)
        {
            List.CopyTo(orders, nIdex);
        }
        #endregion
    }
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -