Manager class

  /// <summary>
  /// Creates a store manager if they don't already exist in the database.
  /// </summary>
  private void CreateStoreManager()
  {
      using (InspiringChampions.Common.Data.ICDataContext db = new Common.Data.ICDataContext(Globals.ConnStr))
      {
          //If the store manager isn't already in the database, create their record.
          if (!db.InfusionSoftManagers.Any(ism => ism.ContactID == this.Id))
          {
              Common.Data.InfusionSoftManager manager = new Data.InfusionSoftManager();
              manager.ContactID = this.Id;
              manager.LastLogin = DateTime.Now;
              manager.IsNotifications = true;
              db.InfusionSoftManagers.InsertOnSubmit(manager);
              db.SubmitChanges();
          }
      }
  }

What does the manager object refer to, is this a Contact? Migrating from .net 4 Helper Libraries to Keap v1/v2 apis.

Hi @Filimoni_Naisua_5939,

That seems to be specific to your code and not related to the XML-RPC API.

It seems to be creating a database entry which references the Keap Contact Record Id number.

1 Like

I thought so too, thanks @Pav for the clarification!