/// <summary>
 /// Initializes a new instance of the <see cref="BusinessLogicLayerRequestMessageBase&lt;TQueryCriteria&gt;"/> class.
 /// </summary>
 /// <param name="businessLogicLayerRequestTypes">The business logic layer request types.</param>
 /// <param name="businessLogicLayerRequestTypeKey">The business logic layer request type key.</param>
 /// <param name="businessLogicLayerRequestID">The business logic layer request ID.</param>
 public BusinessLogicLayerRequestMessageBase(
     BusinessLogicLayerRequestTypes businessLogicLayerRequestTypes
     , string businessLogicLayerRequestTypeKey
     , string businessLogicLayerRequestID
     )
     : this(businessLogicLayerRequestTypes, businessLogicLayerRequestTypeKey, businessLogicLayerRequestID, -1, -1, null)
 {
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="BusinessLogicLayerRequestMessageBase&lt;TQueryCriteria&gt;"/> class.
 /// </summary>
 /// <param name="businessLogicLayerRequestTypes">The business logic layer request types.</param>
 /// <param name="businessLogicLayerRequestTypeKey">The business logic layer request type key.</param>
 /// <param name="businessLogicLayerRequestID">The business logic layer request ID.</param>
 /// <param name="currentIndex">Index of the current.</param>
 /// <param name="pageSize">Size of the page.</param>
 /// <param name="queryOrderByExpression">The query order by expression.</param>
 public BusinessLogicLayerRequestMessageBase(
     BusinessLogicLayerRequestTypes businessLogicLayerRequestTypes
     , string businessLogicLayerRequestTypeKey
     , string businessLogicLayerRequestID
     , int currentIndex
     , int pageSize
     , string queryOrderByExpression)
 {
     this.BusinessLogicLayerRequestID      = businessLogicLayerRequestID;
     this.BusinessLogicLayerRequestTypeKey = businessLogicLayerRequestTypeKey;
     this.BusinessLogicLayerRequestTypes   = businessLogicLayerRequestTypes;
     this.QueryPagingSetting            = new Framework.EntityContracts.QueryPagingSetting(currentIndex, pageSize);
     this.QueryOrderBySettingCollection = new Framework.EntityContracts.QueryOrderBySettingCollection(queryOrderByExpression);
 }
 public Framework.ViewModels.ResponseStatus <TOptions> GetStatusMessage <TOptions>(TOptions option, BusinessLogicLayerRequestTypes requestType)
 {
     return(new Framework.ViewModels.ResponseStatus <TOptions> {
         Option = option
         , RequestType = requestType
         , Status = this.BusinessLogicLayerResponseStatus
         , StatusMessage = ServerErrorMessage
     });
 }