Model
|
The ModelControllerT type exposes the following members.
Name | Description | |
---|---|---|
BadRequest | Creates a BadRequestResult. (Inherited from ApiController) |
|
BadRequest(ModelStateDictionary) | Creates an InvalidModelStateResult with the specified model state. (Inherited from ApiController) |
|
BadRequest(String) | Creates an ErrorMessageResult (400 Bad Request) with the specified error message. (Inherited from ApiController) |
|
BuildWhereClause |
(Inherited from ModelControllerT, U) |
|
Conflict | Creates a ConflictResult (409 Conflict). (Inherited from ApiController) |
|
Content``1(HttpStatusCode, UMP) | Creates a <see cref="T:System.Web.Http.NegotiatedContentResult`1" /> with the specified values. (Inherited from ApiController) |
|
Content``1(HttpStatusCode, UMP, MediaTypeFormatter) | Creates a <see cref="T:System.Web.Http.FormattedContentResult`1" /> with the specified values. (Inherited from ApiController) |
|
Content``1(HttpStatusCode, UMP, MediaTypeFormatter, MediaTypeHeaderValue) | Creates a <see cref="T:System.Web.Http.FormattedContentResult`1" /> with the specified values. (Inherited from ApiController) |
|
Content``1(HttpStatusCode, UMP, MediaTypeFormatter, String) | Creates a <see cref="T:System.Web.Http.FormattedContentResult`1" /> with the specified values. (Inherited from ApiController) |
|
CountSearchResults |
Counts the number of records with the SearchResults as specified in ModelControllerT, UPostData.
(Inherited from ModelControllerT, U) |
|
Created``1(String, UMP) | Creates a CreatedNegotiatedContentResult (201 Created) with the specified values. (Inherited from ApiController) |
|
Created``1(Uri, UMP) | Creates a CreatedNegotiatedContentResult (201 Created) with the specified values. (Inherited from ApiController) |
|
CreatedAtRoute``1(String, IDictionaryString, Object, UMP) | Creates a CreatedAtRouteNegotiatedContentResult (201 Created) with the specified values. (Inherited from ApiController) |
|
CreatedAtRoute``1(String, Object, UMP) | Creates a CreatedAtRouteNegotiatedContentResult (201 Created) with the specified values. (Inherited from ApiController) |
|
Delete |
Deletes an existing Record.
(Inherited from ModelControllerT, U) |
|
DeleteAuthCheck |
Check if current User is authorized for DELETE Requests
(Inherited from ModelControllerT, U) |
|
Dispose | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from ApiController) |
|
Dispose(Boolean) | Releases the unmanaged resources that are used by the object and, optionally, releases the managed resources. (Inherited from ApiController) |
|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) |
|
ExecuteAsync | Executes asynchronously a single HTTP operation. (Inherited from ApiController) |
|
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) |
|
Get(String) |
Gets all records from associated table, filtered to parent key ID if provided
(Inherited from ModelControllerT, U) |
|
Get(String, Int32) |
Gets a sorted list of T.
(Inherited from ModelControllerT, U) |
|
Get(String, String, Int32) |
Gets all records from associated table, filtered to parent key ID if provided, sorted by the provided Field.
(Inherited from ModelControllerT, U) |
|
GetAuthCheck |
Check if current User is authorized for GET Requests
(Inherited from ModelControllerT, U) |
|
GetHashCode | Serves as the default hash function. (Inherited from Object) |
|
GetNew |
Used to get an empty record
(Inherited from ModelControllerT, U) |
|
GetOne |
Gets record from associated table with a primary key matching the id provided.
(Inherited from ModelControllerT, U) |
|
GetPagedList(ModelControllerT, UPostData, Int32) |
Gets a subset of records from associated table, filtered and sorted as defined in postData.
based on Take and 0-based page index
(Inherited from ModelControllerT, U) |
|
GetPagedList(ModelControllerT, UPostData, Int32, String) |
Gets a subset of records from associated table, filtered and sorted as defined in postData.
based on Take and 0-based page index
(Inherited from ModelControllerT, U) |
|
GetSearchableList(ModelControllerT, UPostData) |
Gets all records from associated table, filtered and sorted as defined in postData.
(Inherited from ModelControllerT, U) |
|
GetSearchableList(ModelControllerT, UPostData, String) |
Gets all records from associated table, filtered and sorted as defined in postData.
(Inherited from ModelControllerT, U) |
|
GetSearchResults |
Gets the DataTable with the SearchResults as specified in ModelControllerT, UPostData.
(Inherited from ModelControllerT, U) |
|
GetType | Gets the Type of the current instance. (Inherited from Object) |
|
Initialize | Initializes the ApiController instance with the specified controllerContext. (Inherited from ApiController) |
|
InternalServerError | Creates an InternalServerErrorResult (500 Internal Server Error). (Inherited from ApiController) |
|
InternalServerError(Exception) | Creates an ExceptionResult (500 Internal Server Error) with the specified exception. (Inherited from ApiController) |
|
Json``1(UMP) | Creates a JsonResult (200 OK) with the specified value. (Inherited from ApiController) |
|
Json``1(UMP, JsonSerializerSettings) | Creates a JsonResult (200 OK) with the specified values. (Inherited from ApiController) |
|
Json``1(UMP, JsonSerializerSettings, Encoding) | Creates a JsonResult (200 OK) with the specified values. (Inherited from ApiController) |
|
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) |
|
NotFound | Creates a NotFoundResult. (Inherited from ApiController) |
|
Ok | Creates an OkResult (200 OK). (Inherited from ApiController) |
|
Ok``1(UMP) | Creates an OkNegotiatedContentResult with the specified values. (Inherited from ApiController) |
|
Patch |
Updates an existing Record.
(Inherited from ModelControllerT, U) |
|
PatchAuthCheck |
Check if current User is authorized for PATCH Requests
(Inherited from ModelControllerT, U) |
|
Post |
Adds a new Record.
(Inherited from ModelControllerT, U) |
|
PostAuthCheck |
Check if current User is authorized for POST Requests
(Inherited from ModelControllerT, U) |
|
QueryRecords |
(Inherited from ModelControllerT, U) |
|
QueryRecords(String, Boolean) |
(Inherited from ModelControllerT, U) |
|
QueryRecordsWhere(String, Object) |
(Inherited from ModelControllerT, U) |
|
QueryRecordsWhere(String, Boolean, String, Object) |
(Inherited from ModelControllerT, U) |
|
QueryRecordWhere |
(Inherited from ModelControllerT, U) |
|
Redirect(String) | Creates a redirect result (302 Found) with the specified value. (Inherited from ApiController) |
|
Redirect(Uri) | Creates a redirect result (302 Found) with the specified value. (Inherited from ApiController) |
|
RedirectToRoute(String, IDictionaryString, Object) | Creates a redirect to route result (302 Found) with the specified values. (Inherited from ApiController) |
|
RedirectToRoute(String, Object) | Creates a redirect to route result (302 Found) with the specified values. (Inherited from ApiController) |
|
ResponseMessage | Creates a ResponseMessageResult with the specified response. (Inherited from ApiController) |
|
StatusCode | Creates a StatusCodeResult with the specified status code. (Inherited from ApiController) |
|
ToString | Returns a string that represents the current object. (Inherited from Object) |
|
Unauthorized(AuthenticationHeaderValue) | Creates an UnauthorizedResult (401 Unauthorized) with the specified values. (Inherited from ApiController) |
|
Unauthorized(IEnumerableAuthenticationHeaderValue) | Creates an UnauthorizedResult (401 Unauthorized) with the specified values. (Inherited from ApiController) |
|
Validate``1(UMP) | Validates the given entity and adds the validation errors to the model state under the empty prefix, if any. (Inherited from ApiController) |
|
Validate``1(UMP, String) | Validates the given entity and adds the validation errors to the model state, if any. (Inherited from ApiController) |
Name | Description | |
---|---|---|
GetEnumValueOrDefault |
Gets the enumeration constant for value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions) |
|
GetEnumValueOrDefaultT |
Gets the enumeration constant for this value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions) |