Click or drag to resize

ModelControllerT, U Methods

The ModelControllerT, U type exposes the following members.

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