supplierscollection.cs

来自「简单的cI真的是很简单 你想要就下载吧」· CS 代码 · 共 43 行

CS
43
字号
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:Owen Liu
    /// Time:2008.2.20
    public class SuppliersCollection:CollectionBase
    {

        public SuppliersEntity this[int nIndex]
        {
            get { return (SuppliersEntity)List[nIndex]; }
            set { List[nIndex] = value; }
        }

        public int Add(SuppliersEntity SuppliersInfo)
        {
            return (List.Add(SuppliersInfo));
        }

        public int IndexOf(SuppliersEntity SuppliersInfo)
        {
            return (List.IndexOf(SuppliersInfo));
        }

        public void Insert(int nIndex, SuppliersEntity SuppliersInfo)
        {
            List.Insert(nIndex, SuppliersInfo);
        }

        public void Remove(SuppliersEntity SuppliersInfo)
        {
            List.Remove(SuppliersInfo);
        }
    }
}

⌨️ 快捷键说明

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