C# Class CoyoteMoves.Data_Access.RequestFormDB

Mostra file Open project: jakemmarsh/coyote-moves Class Usage Examples

Public Methods

Method Description
HRApproved ( System.Guid uniqueRequestID ) : bool
RemoveRequestByUniqueId ( System.Guid UniqueRequestID ) : bool
RequestFormDB ( ) : System
RetrieveRequest ( System.Guid uniqueRequestID ) : RequestForm
SDApproved ( System.Guid uniqueRequestID ) : bool
StoreRequestFormInDatabaseAsPending ( RequestForm form ) : bool
UpdateRequestToHRApproved ( System.Guid UniqueRequestID ) : bool
UpdateRequestToServiceDeskApproved ( System.Guid UniqueRequestID ) : bool

Private Methods

Method Description
AddParametersForStoreRequestFormInDatabaseHelper ( RequestForm form ) : SqlCommand
CheckOtherDepartmentApproval ( System.Guid uniqueRequestID, string ApprovalDept ) : bool
UpdateRequestToApprovedStatus ( System.Guid UniqueRequestID, string ApprovalDept ) : bool
setTheRequestAsNotPending ( System.Guid uniqueRequestID ) : void

Method Details

HRApproved() public method

public HRApproved ( System.Guid uniqueRequestID ) : bool
uniqueRequestID System.Guid
return bool

RemoveRequestByUniqueId() public method

public RemoveRequestByUniqueId ( System.Guid UniqueRequestID ) : bool
UniqueRequestID System.Guid
return bool

RequestFormDB() public method

public RequestFormDB ( ) : System
return System

RetrieveRequest() public method

public RetrieveRequest ( System.Guid uniqueRequestID ) : RequestForm
uniqueRequestID System.Guid
return CoyoteMoves.Models.RequestItems.RequestForm

SDApproved() public method

public SDApproved ( System.Guid uniqueRequestID ) : bool
uniqueRequestID System.Guid
return bool

StoreRequestFormInDatabaseAsPending() public method

public StoreRequestFormInDatabaseAsPending ( RequestForm form ) : bool
form CoyoteMoves.Models.RequestItems.RequestForm
return bool

UpdateRequestToHRApproved() public method

public UpdateRequestToHRApproved ( System.Guid UniqueRequestID ) : bool
UniqueRequestID System.Guid
return bool

UpdateRequestToServiceDeskApproved() public method

public UpdateRequestToServiceDeskApproved ( System.Guid UniqueRequestID ) : bool
UniqueRequestID System.Guid
return bool