Click or drag to resize
IDicServiceGetDicsByParentID 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> GetDicsByParentID(
	int id = 0
)

Parameters

id (Optional)
Type: SystemInt32
父字典ID

Return Value

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