Suoranta.EnterpriseLib.Web - Developer API

WebExtensions..::..ToJsonResult<(Of <(<'T>)>)> Method (IQueryable<(Of <(<'T>)>)>, array<String>[]()[][])

Serialize properties of into JsonResult

Namespace:  Suoranta.EnterpriseLib.Web.Util
Assembly:  Suoranta.EnterpriseLib.Web (in Suoranta.EnterpriseLib.Web.dll)

Syntax


public static JsonResult ToJsonResult<T>(
	this IQueryable<T> entities,
	params string[] props
)

Type Parameters

T
Entity type

Parameters

entities
Type: IQueryable<(Of <(<'T>)>)>
props
Type: array<String>[]()[][]

Return Value