diff --git a/src/c#/CoreTest/Bootstrap/GeneralUpdateBootstrapTests.cs b/src/c#/CoreTest/Bootstrap/GeneralUpdateBootstrapTests.cs
index 92481102..7bb464fb 100644
--- a/src/c#/CoreTest/Bootstrap/GeneralUpdateBootstrapTests.cs
+++ b/src/c#/CoreTest/Bootstrap/GeneralUpdateBootstrapTests.cs
@@ -48,26 +48,6 @@ public void SetConfig_ReturnsBootstrapInstance()
Assert.Same(bootstrap, result);
}
- ///
- /// Tests that SetFieldMappings returns the bootstrap instance for chaining.
- ///
- [Fact]
- public void SetFieldMappings_ReturnsBootstrapInstance()
- {
- // Arrange
- var bootstrap = new GeneralUpdateBootstrap();
- var fieldMappings = new Dictionary
- {
- { "field1", "value1" }
- };
-
- // Act
- var result = bootstrap.SetFieldMappings(fieldMappings);
-
- // Assert
- Assert.Same(bootstrap, result);
- }
-
///
/// Tests that SetCustomSkipOption returns the bootstrap instance for chaining.
///
@@ -199,7 +179,6 @@ public void MethodChaining_ConfigureBootstrap_ReturnsCorrectInstance()
UpdateUrl = "https://example.com/update",
ClientVersion = "1.0.0"
})
- .SetFieldMappings(new Dictionary { { "key", "value" } })
.SetCustomSkipOption(() => false)
.AddListenerException((sender, e) => { });
diff --git a/src/c#/GeneralUpdate.Common/Shared/Object/GlobalConfigInfo.cs b/src/c#/GeneralUpdate.Common/Shared/Object/GlobalConfigInfo.cs
index 5d0ce974..cb9bfc69 100644
--- a/src/c#/GeneralUpdate.Common/Shared/Object/GlobalConfigInfo.cs
+++ b/src/c#/GeneralUpdate.Common/Shared/Object/GlobalConfigInfo.cs
@@ -112,12 +112,6 @@ public class GlobalConfigInfo : BaseConfigInfo
///
public bool? PatchEnabled { get; set; }
- ///
- /// Dictionary for custom field name mappings.
- /// Used for flexible configuration transformations in specific scenarios.
- ///
- public Dictionary FieldMappings { get; set; }
-
///
/// Directory path where the current version files are backed up before update.
/// Computed by combining InstallPath with a versioned directory name.
diff --git a/src/c#/GeneralUpdate.Core/GeneralUpdateBootstrap.cs b/src/c#/GeneralUpdate.Core/GeneralUpdateBootstrap.cs
index 36baf93c..47bd50ab 100644
--- a/src/c#/GeneralUpdate.Core/GeneralUpdateBootstrap.cs
+++ b/src/c#/GeneralUpdate.Core/GeneralUpdateBootstrap.cs
@@ -84,13 +84,7 @@ public GeneralUpdateBootstrap SetConfig(Configinfo configInfo)
InitBlackList();
return this;
}
-
- public GeneralUpdateBootstrap SetFieldMappings(Dictionary fieldMappings)
- {
- _configInfo.FieldMappings = fieldMappings;
- return this;
- }
-
+
public GeneralUpdateBootstrap SetCustomSkipOption(Func? func)
{
_customSkipOption = func;
diff --git a/src/c#/GeneralUpdate.Upgrad/Program.cs b/src/c#/GeneralUpdate.Upgrad/Program.cs
index 8ff0c8f6..0fad6251 100644
--- a/src/c#/GeneralUpdate.Upgrad/Program.cs
+++ b/src/c#/GeneralUpdate.Upgrad/Program.cs
@@ -50,8 +50,6 @@ static async Task Main(string[] args)
//整个更新过程出现的任何问题都会通过这个事件通知
.AddListenerException(OnException)
.SetConfig(configinfo)
- //设置字段映射表,用于解析所有驱动包的信息的字符串
- //.SetFieldMappings(fieldMappingsCN)
//是否开启驱动更新
//.Option(UpdateOption.Drive, true)
//.Option(UpdateOption.Patch, false)
@@ -96,7 +94,6 @@ static async Task Main(string[] args)
.SetDriverFileExtension(fileExtension)
.SetOutPutDirectory(outPutPath)
.SetDriverDirectory(driversPath)
- .SetFieldMappings(fieldMappingsCN)
.Build();
var processor = new DriverProcessor();