@* Componente per salvare la configurazione corrente come profilo *@ @using System.IO
Salva Configurazione Corrente
@if (!ShowSaveForm) { @if (!CanSave) { Configura fonte e destinazione per abilitare il salvataggio } } else {
@if (!string.IsNullOrEmpty(SaveMessage)) {
@SaveMessage
}
Fonte: @GetSourceSummary()
@if (!string.IsNullOrEmpty(SourceCredentialName)) { Credenziali: @SourceCredentialName
} @if (!string.IsNullOrEmpty(SourceSchema)) { Schema: @SourceSchema
} @if (!string.IsNullOrEmpty(SourceTable)) { Tabella: @SourceTable } @if (!string.IsNullOrEmpty(SourceFilePath)) { File: @Path.GetFileName(SourceFilePath) }
Destinazione: @GetDestinationSummary()
@if (!string.IsNullOrEmpty(DestinationCredentialName)) { Credenziali: @DestinationCredentialName
} @if (!string.IsNullOrEmpty(DestinationSchema)) { Schema: @DestinationSchema
} @if (!string.IsNullOrEmpty(DestinationTable)) { Tabella: @DestinationTable } @if (!string.IsNullOrEmpty(DestinationEndpoint)) { Endpoint: @DestinationEndpoint }
@if (FieldMappings != null && FieldMappings.Any()) {
@FieldMappings.Count mapping dei campi configurati
@if (UseRecordAssociations) { Smart Update attivo @if (!string.IsNullOrEmpty(SourceKeyField)) { (Chiave: @SourceKeyField) } } else { Solo inserimenti }
}
}