📄 productscollection.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:Owen Liu
/// Time:2008.2.20
public class ProductsCollection:CollectionBase
{
public ProductsEntity this[int nIndex]
{
get { return (ProductsEntity)List[nIndex]; }
set { List[nIndex] = value; }
}
public int Add(ProductsEntity ProductsInfo)
{
return (List.Add(ProductsInfo));
}
public int IndexOf(ProductsEntity ProductsInfo)
{
return (List.IndexOf(ProductsInfo));
}
public void Insert(int nIndex, ProductsEntity ProductsInfo)
{
List.Insert(nIndex, ProductsInfo);
}
public void Remove(ProductsEntity ProductsInfo)
{
List.Remove(ProductsInfo);
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -