|
ModelControllerT, UGetSearchableList(ModelControllerT, UPostData, String) Method
|
Gets all records from associated table, filtered and sorted as defined in postData.
Namespace: GSF.Web.ModelAssembly: GSF.Web (in GSF.Web.dll) Version: 2.4.182-beta
Syntax [HttpPostAttribute]
[RouteAttribute("{parentID?}/SearchableList")]
public virtual IHttpActionResult GetSearchableList(
[FromBodyAttribute] ModelControllerT, UPostData postData,
string parentID = null
)
<HttpPostAttribute>
<RouteAttribute("{parentID?}/SearchableList")>
Public Overridable Function GetSearchableList (
<FromBodyAttribute> postData As ModelControllerT, UPostData,
Optional parentID As String = Nothing
) As IHttpActionResult
public:
[HttpPostAttribute]
[RouteAttribute(L"{parentID?}/SearchableList")]
virtual IHttpActionResult^ GetSearchableList(
[FromBodyAttribute] ModelControllerT, UPostData^ postData,
String^ parentID = nullptr
)
[<HttpPostAttribute>]
[<RouteAttribute("{parentID?}/SearchableList")>]
abstract GetSearchableList :
[<FromBodyAttribute>] postData : ModelControllerT, UPostData *
?parentID : string
(* Defaults:
let _parentID = defaultArg parentID null
*)
-> IHttpActionResult
[<HttpPostAttribute>]
[<RouteAttribute("{parentID?}/SearchableList")>]
override GetSearchableList :
[<FromBodyAttribute>] postData : ModelControllerT, UPostData *
?parentID : string
(* Defaults:
let _parentID = defaultArg parentID null
*)
-> IHttpActionResult
function GetSearchableList(postData, parentID);
View SourceParameters
- postData ModelControllerT, UPostData
- ModelControllerT, UPostData containing the search and sort parameters
- parentID String (Optional)
- Parent ID to be used if Table has a set Parent Key
Return Value
IHttpActionResultIHttpActionResult containing
IEnumerableT or
ExceptionSee Also