Click or drag to resize
IDicServiceGetAllDicsByParentID Method
根据parentid获取下面的子项

Namespace: Beyondbit.Dictionary.WCFService
Assembly: Beyondbit.Dictionary.WCFService (in Beyondbit.Dictionary.WCFService.dll) Version: 1.0.5730.27964 (1.0.5730.27964)
Syntax
C#
List<Dictionary> GetAllDicsByParentID(
	int parentID
)

Parameters

parentID
Type: SystemInt32
父字典ID

Return Value

Type: ListDictionary
字典实体集合
Remarks
必须引用字典的Beyondbit.SOA.Dictionary.Client.dll
下面有命名空间Beyondbit.SOA.Dictionary.Client.DictionaryClient
注意:这里会递归所有的子项目;如果参数为空则返回所有的字典项目
Examples
DicServiceClient _dicService = new DicServiceClient();
Int32 parentID = 0;
List<Dictionary> dicList = _dicService.GetAllDicsByParentID(parentID);
See Also