예제 #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)
 {
 }