Click or drag to resize
CrudControllerTEntity Class
The Crud Controller for the WebS Crud API
Inheritance Hierarchy
SystemObject
  ApiController
    DrawerBackup.Native.Server.ControllersCrudControllerTEntity
      More...

Namespace: DrawerBackup.Native.Server.Controllers
Assembly: DrawerBackup.Native (in DrawerBackup.Native.dll) Version: 0.0.1.1 (0.0.1.1)
Syntax
public abstract class CrudController<TEntity> : ApiController
where TEntity : BaseEntity

Type Parameters

TEntity

The CrudControllerTEntity type exposes the following members.

Constructors
  NameDescription
Public methodCrudControllerTEntity
Initializes a new instance of the CrudControllerTEntity class
Top
Properties
  NameDescription
Public propertyActionContext (Inherited from ApiController.)
Public propertyConfiguration (Inherited from ApiController.)
Public propertyControllerContext (Inherited from ApiController.)
Protected propertyManager
Public propertyModelState (Inherited from ApiController.)
Public propertyRequest (Inherited from ApiController.)
Public propertyRequestContext (Inherited from ApiController.)
Public propertyUrl (Inherited from ApiController.)
Public propertyUser (Inherited from ApiController.)
Top
Methods
  NameDescription
Protected methodBadRequest (Inherited from ApiController.)
Protected methodBadRequest(String) (Inherited from ApiController.)
Protected methodBadRequest(ModelStateDictionary) (Inherited from ApiController.)
Protected methodConflict (Inherited from ApiController.)
Protected methodContent``1(HttpStatusCode, UMP) (Inherited from ApiController.)
Protected methodContent``1(HttpStatusCode, UMP, MediaTypeFormatter) (Inherited from ApiController.)
Protected methodContent``1(HttpStatusCode, UMP, MediaTypeFormatter, String) (Inherited from ApiController.)
Protected methodContent``1(HttpStatusCode, UMP, MediaTypeFormatter, MediaTypeHeaderValue) (Inherited from ApiController.)
Protected methodCreated``1(String, UMP) (Inherited from ApiController.)
Protected methodCreated``1(Uri, UMP) (Inherited from ApiController.)
Protected methodCreatedAtRoute``1(String, Object, UMP) (Inherited from ApiController.)
Protected methodCreatedAtRoute``1(String, IDictionaryString, Object, UMP) (Inherited from ApiController.)
Public methodDelete
Delete the entity
Public methodDeleteAny
Executes a search in the server and delete all the results
Public methodDispose (Inherited from ApiController.)
Protected methodDispose(Boolean)
Releases the unmanaged resources used by the CrudControllerTEntity and optionally releases the managed resources
(Overrides ApiController.Dispose(Boolean).)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodExecuteAsync (Inherited from ApiController.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodInitialize (Inherited from ApiController.)
Protected methodInternalServerError (Inherited from ApiController.)
Protected methodInternalServerError(Exception) (Inherited from ApiController.)
Protected methodJson``1(UMP) (Inherited from ApiController.)
Protected methodJson``1(UMP, JsonSerializerSettings) (Inherited from ApiController.)
Protected methodJson``1(UMP, JsonSerializerSettings, Encoding) (Inherited from ApiController.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodNotFound (Inherited from ApiController.)
Protected methodOk (Inherited from ApiController.)
Protected methodOk``1(UMP) (Inherited from ApiController.)
Protected methodPreFilter
Applys a filter to all searchs in the crud controller
Public methodRead
Get a entity from the data manager
Protected methodRedirect(String) (Inherited from ApiController.)
Protected methodRedirect(Uri) (Inherited from ApiController.)
Protected methodRedirectToRoute(String, Object) (Inherited from ApiController.)
Protected methodRedirectToRoute(String, IDictionaryString, Object) (Inherited from ApiController.)
Protected methodResponseMessage (Inherited from ApiController.)
Public methodSaveOrUpdate
Insert a entity to the server
Public methodSearch
Executes a search in the server
Public methodSearchByText
Executes a search in the server
Protected methodSetMode
Protected methodStatusCode (Inherited from ApiController.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Protected methodUnauthorized(AuthenticationHeaderValue) (Inherited from ApiController.)
Protected methodUnauthorized(IEnumerableAuthenticationHeaderValue) (Inherited from ApiController.)
Public methodValidate``1(UMP) (Inherited from ApiController.)
Public methodValidate``1(UMP, String) (Inherited from ApiController.)
Top
Extension Methods
See Also
Inheritance Hierarchy
SystemObject
  ApiController
    DrawerBackup.Native.Server.ControllersCrudControllerTEntity
      DrawerBackup.Native.Server.CrudApiCrudUserController
      DrawerBackup.Server.WebS.CrudApiCrudClientConfigController
      DrawerBackup.Server.WebS.CrudApiCrudClientController
      DrawerBackup.Server.WebS.CrudApiCrudClientGroupController
      DrawerBackup.Server.WebS.CrudApiCrudEntryController
      DrawerBackup.Server.WebS.CrudApiCrudEventControlller
      DrawerBackup.Server.WebS.CrudApiCrudJobController
      DrawerBackup.Server.WebS.CrudApiCrudOperationController
      DrawerBackup.Server.WebS.CrudApiCrudProgressController
      DrawerBackup.Server.WebS.CrudApiCrudScheduleController
      DrawerBackup.Server.WebS.CrudApiCrudStorageController
      DrawerBackup.Storage.WebS.CrudApiCrudJobController
      DrawerBackup.Storage.WebS.CrudApiCrudOperationController
      DrawerBackup.Storage.WebS.CrudApiCrudRepositoryController