Exemple #1
0
 Task <MembershipTableData> IMembershipTable.ReadAll()
 {
     if (logger.IsVerbose3)
     {
         logger.Verbose3("SqlMembershipTable.ReadAll called.");
     }
     try
     {
         return(database.AllMembershipDataAsync(deploymentId));
     }
     catch (Exception ex)
     {
         if (logger.IsVerbose)
         {
             logger.Verbose("SqlMembershipTable.ReadAll failed: {0}", ex);
         }
         throw;
     }
 }
 Task <MembershipTableData> IMembershipTable.ReadAll()
 {
     if (logger.IsVerbose3)
     {
         logger.Verbose3("SqlMembershipTable.ReadAll called.");
     }
     try
     {
         var query = queryConstants.GetConstant(database.InvariantName, QueryKeys.MembershipReadAllKey);
         return(database.AllMembershipDataAsync(query, deploymentId));
     }
     catch (Exception ex)
     {
         if (logger.IsVerbose)
         {
             logger.Verbose("SqlMembershipTable.ReadAll failed: {0}", ex);
         }
         throw;
     }
 }