/// <summary> /// Creates an instance if no instance is found with the time stamp given in info.Version /// Updates an instance if info.Version matches what is in the DB /// Updates the last instance if info.Version is not initialized (DateTime.MinValue) /// </summary> /// <typeparam name="T"></typeparam> /// <param name="info"></param> /// <param name="updateTags">overwrite the info or leave what is currently in the field when updating</param> /// <returns></returns> public virtual bool CreateOrUpdate <T>(IObjectInfo <T> info, bool updateTags = true) { return(CreateOrUpdate(info.ToObjectInfo <T>(_serializer), updateTags)); }