|
ModelControllerTGet(String) Method
|
Gets all records from associated table, filtered to parent key ID if provided
Namespace: GSF.Web.ModelAssembly: GSF.Web (in GSF.Web.dll) Version: 2.4.158-beta
Syntax [HttpGetAttribute]
[RouteAttribute("{parentID?}")]
public virtual IHttpActionResult Get(
string parentID = null
)
<HttpGetAttribute>
<RouteAttribute("{parentID?}")>
Public Overridable Function Get (
Optional parentID As String = Nothing
) As IHttpActionResult
public:
[HttpGetAttribute]
[RouteAttribute(L"{parentID?}")]
virtual IHttpActionResult^ Get(
String^ parentID = nullptr
)
[<HttpGetAttribute>]
[<RouteAttribute("{parentID?}")>]
abstract Get :
?parentID : string
(* Defaults:
let _parentID = defaultArg parentID null
*)
-> IHttpActionResult
[<HttpGetAttribute>]
[<RouteAttribute("{parentID?}")>]
override Get :
?parentID : string
(* Defaults:
let _parentID = defaultArg parentID null
*)
-> IHttpActionResult
View SourceParameters
- parentID String (Optional)
- Parent ID to be used if Table has a set Parent Key
Return Value
IHttpActionResultIHttpActionResult containing
IEnumerableT or
ExceptionSee Also