using System; using System.Threading; using System.Threading.Tasks; using GB5Shared.DTO.Framework.Login; namespace AdminBLL.Replicate { public class ReplicateBLL : IReplicateBLL { public Task ReplicateProcessAsync(int replicateId, int writeInQueue, LoginDTO loginDTO, CancellationToken ct = default) { // TODO: port the ETL engine behind this contract from GB4: // Gb4Import.ReplicateProcess -> ReplicateStart -> Gb4ToGb4Export // (file-based path also touches GenerateFile / ImportFile) // Source: GB4Solution/BLL/AdminBLL/Gb4Import/Gb4Import.cs (~7,000 lines, // NHibernate GenericLazyLoadingFrameDAL, dynamic cross-DB SQL, old AsyncFunc // async pattern) — none of which exists in GB5's Dapper/FastEndpoints stack, // so it needs a dedicated redesign rather than a line-by-line port. throw new NotImplementedException( "ReplicateProcess ETL logic has not been ported from GB4 yet. " + "See Gb4Import.cs (ReplicateStart/Gb4ToGb4Export/GenerateFile/ImportFile) for the source implementation."); } } }