private static SqlPreCommand?Schema_Generating() { if (DisconnectedLogic.OfflineMode) { return(null); } return(GetTablesToSeed() .Select(a => DisconnectedTools.SetNextIdSync(a, ServerSeed)) .Combine(Spacing.Simple)); }
private static SqlPreCommand?Schema_Synchronizing(Replacements arg) { if (DisconnectedLogic.OfflineMode) { return(null); } if (!arg.Interactive && arg.SchemaOnly) // Is ImportManager { return(null); } return(GetTablesToSeed() .Where(a => DisconnectedTools.GetNextId(a) < ServerSeed) .Select(a => DisconnectedTools.SetNextIdSync(a, ServerSeed)) .Combine(Spacing.Simple)); }