📄 employeescollections.cs
字号:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections;
namespace BRISDataAccess.Entity
{
public class EmployeesCollection : CollectionBase
{
public EmployeesEntity this[int nIndex]
{
get { return (EmployeesEntity)List[nIndex]; }
set { List[nIndex] = value; }
}
public int Add(EmployeesEntity EmployeesInfo)
{
return (List.Add(EmployeesInfo));
}
public int IndexOf(EmployeesEntity EmployeesInfo)
{
return (List.IndexOf(EmployeesInfo));
}
public void Insert(int nIndex,EmployeesEntity EmployeesInfo)
{
List.Insert(nIndex, EmployeesInfo);
}
public void Remove(EmployeesEntity EmployeesInfo)
{
List.Remove(EmployeesInfo);
}
public bool Contains(EmployeesEntity EmployeesInfo)
{
return (List.Contains(EmployeesInfo));
}
public void CopyTo(EmployeesEntity [] EmployeesInfo, int nIndex)
{
List.CopyTo(EmployeesInfo, nIndex);
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -