internal static void InsertOrReplace(ThumbnailViewModel target, DataOperationUnit dataOpUnit = null) { ThumbnailDao dao = new ThumbnailDao(); dao.InsertOrReplace(target.ToEntity(), dataOpUnit?.CurrentConnection); s_logger.Debug($"UPDATE Thumbnail:{target}"); }
public static void Update(ThumbnailViewModel target, DataOperationUnit dataOpUnit = null) { ThumbnailDao dao = new ThumbnailDao(); dao.Update(target.ToEntity(), dataOpUnit?.CurrentConnection); s_logger.Debug($"UPDATE Thumbnail:{target}"); }