public DataTable SearchOne(aspnet_RolesEntityKey EntityKey)
 {
     try
     {
         if (!EntityKey.Validate())
         {
             throw new Exception(EntityKey.ErroresQueInvalidanLaEntidad);
         }
         return(this.CreateDataAccess().SearchOne(EntityKey));
     }
     catch (Exception ex)
     {
         Helpers.Logger.Logger.LogExceptionStatic(ex);
         throw ex;
     }
 }
 public aspnet_RolesEntityInfo SearchOne(aspnet_RolesEntityKey EntityKey, bool NoUtilizar)
 {
     try
     {
         if (!EntityKey.Validate())
         {
             throw new Exception(EntityKey.ErroresQueInvalidanLaEntidad);
         }
         return(this.DataRowToEntityInfo(this.CreateDataAccess().SearchOne(EntityKey).Rows[0]));
     }
     catch (Exception ex)
     {
         Helpers.Logger.Logger.LogExceptionStatic(ex);
         throw ex;
     }
 }
 public bool UpdateNull(aspnet_RolesEntityKey EntityKey, aspnet_RolesEntityUpdateNullFields EntityUpdateNullFields)
 {
     try
     {
         if (!EntityKey.Validate())
         {
             return(false);
         }
         return(this.CreateDataAccess().UpdateNull(EntityKey, EntityUpdateNullFields));
     }
     catch (Exception ex)
     {
         Helpers.Logger.Logger.LogExceptionStatic(ex);
         throw ex;
     }
 }