Пример #1
0
 /// <summary>
 /// Class constructor used to return status of the operation
 /// it implements .NET default constructors, so most of the parameters are optional
 /// </summary>
 /// <param name="Message">String message to show to the user</param>
 /// <param name="Status">Status, from the FR_Status enumeration</param>
 /// <param name="RowsUpdated">Rows that were updated with this execution</param>
 /// <param name="Ex">Execution that occured during this execution (if any)</param>
 public FR_Base(string Message = "", FR_Status Status = FR_Status.Success, long RowsUpdated = 0, Exception Ex = null)
 {
     this.ErrorMessage = Message;
     this.Status       = Status;
     this.RowsUpdated  = RowsUpdated;
 }
Пример #2
0
 /// <summary>
 /// Class constructor used to return the status of the operation
 /// Uses the exeption to postback results, as InternalError
 /// </summary>
 /// <param name="ex"></param>
 public FR_Base(Exception ex)
 {
     this.ErrorMessage = ex.Message;
     this.Status       = FR_Status.Error_Internal;
     this.RowsUpdated  = 0;
 }
Пример #3
0
 public FR_Strings(string errorMessage, FR_Status status) : base(errorMessage, status)
 {
 }
Пример #4
0
 public FR_Base()
 {
     Status       = FR_Status.Success;
     ErrorMessage = "";
     RowsUpdated  = 0;
 }
Пример #5
0
 public FR_DateTimes(string errorMessage, FR_Status status) : base(errorMessage, status)
 {
 }