Ejemplo n.º 1
0
 /// <summary>
 /// Update fuzzy lookup accounts
 /// </summary>
 /// <param name="ImportFileId"></param>
 /// <param name="ProfiledDataIds"></param>
 public static void UpdateFuzzyLookupAccountsByExactCompanyName(int ImportFileId, List<string> FuzzyLookupAccountIds, short pMatchByAccountType)
 {
     /**
      *  pMatchByAccountType:
      *  0 = match both validated and unvalidated accounts
      *  1 = match by validated accounts only
      *  2 = match by unvalidated accounts only
      */
     BrightPlatformEntities objDbModel = new BrightPlatformEntities(UserSession.EntityConnection);
     objDbModel.FIUpdateFuzzyLookupAccountMatchesByExactCompanyName(ImportFileId, string.Join(",", FuzzyLookupAccountIds.ToArray()), UserSession.CurrentUser.UserId, pMatchByAccountType);
 }