?? 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);
}
}
}
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -