package BP.WF.Port;

import BP.DA.*;
import BP.En.*;
import BP.WF.*;
import BP.Port.*;
import BP.Web.*;
import BP.WF.*;
import java.util.*;
import java.time.*;

/** 
 操作员s 
*/
public class WFEmps extends EntitiesNoName
{

		///#region 构造
	/** 
	 操作员s
	*/
	public WFEmps()
	{
	}
	/** 
	 得到它的 Entity
	*/
	@Override
	public Entity getNewEntity()
	{
		return new WFEmp();
	}

	@Override
	public int RetrieveAll() throws Exception
	{
		return super.RetrieveAll("FK_Dept", "Idx");
	}

		///#endregion


		///#region 为了适应自动翻译成java的需要,把实体转换成List.
	/** 
	 转化成 java list,C#不能调用.
	 
	 @return List
	*/
	public final List<WFEmp> ToJavaList()
	{
		return (List<WFEmp>)(Object)this;
	}
	/** 
	 转化成list
	 
	 @return List
	*/
	public final ArrayList<WFEmp> Tolist()
	{
		ArrayList<WFEmp> list = new ArrayList<WFEmp>();
		for (int i = 0; i < this.size(); i++)
		{
			list.add((WFEmp)this.get(i));
		}
		return list;
	}

		///#endregion 为了适应自动翻译成java的需要,把实体转换成List.

}