Update
This commit is contained in:
@@ -1,6 +1,4 @@
|
||||
using ConsoleApp2.Entities;
|
||||
|
||||
namespace ConsoleApp2.Options;
|
||||
namespace ConsoleApp2.Options;
|
||||
|
||||
public enum ColumnType
|
||||
{
|
||||
@@ -12,6 +10,10 @@ public enum ColumnType
|
||||
public class DataTransformOptions
|
||||
{
|
||||
public Func<DataRecord, string>? DatabaseFilter { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 配置导入数据的特殊列
|
||||
/// </summary>
|
||||
public Dictionary<string, ColumnType> ColumnTypeConfig { get; set; } = new(); // "table.column" -> type
|
||||
|
||||
public ColumnType GetColumnType(string table, string column)
|
||||
|
Reference in New Issue
Block a user