JHXML.ToList(Tmodel) Method

DCSoft.DBUtilityGeneric

JHXMLToListTmodel Method
将含对象列表信息的 XML 字符串转换为对象实体列表,异常返回 null

Namespace: DCSoft.Utility.Data
Assembly: DCSoft.Utility (in DCSoft.Utility.dll) Version: 0.0.0.0 (1.0.0.0)
Syntax
C#
public static IList<Tmodel> ToList<Tmodel>(
	string xml
)
where Tmodel : class, new()

Parameters

xml
Type: SystemString
含对象列表信息的 XML 字符串

Type Parameters

Tmodel
要转换的对象类型

Return Value

Type: IListTmodel
返回转换后的对象实体列表
See Also