ConfigTabel

ConfigTabel
This commit is contained in:
ALEXTANG
2022-09-05 13:57:06 +08:00
parent a0d811ee16
commit 4a6cf28df3
18 changed files with 27998 additions and 0 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,71 @@
<?xml version="1.0"?>
<doc>
<assembly>
<name>ExcelDataReader.DataSet</name>
</assembly>
<members>
<member name="T:ExcelDataReader.ExcelDataReaderExtensions">
<summary>
ExcelDataReader DataSet extensions
</summary>
</member>
<member name="M:ExcelDataReader.ExcelDataReaderExtensions.AsDataSet(ExcelDataReader.IExcelDataReader,ExcelDataReader.ExcelDataSetConfiguration)">
<summary>
Converts all sheets to a DataSet
</summary>
<param name="self">The IExcelDataReader instance</param>
<param name="configuration">An optional configuration object to modify the behavior of the conversion</param>
<returns>A dataset with all workbook contents</returns>
</member>
<member name="T:ExcelDataReader.ExcelDataSetConfiguration">
<summary>
Processing configuration options and callbacks for IExcelDataReader.AsDataSet().
</summary>
</member>
<member name="P:ExcelDataReader.ExcelDataSetConfiguration.UseColumnDataType">
<summary>
Gets or sets a value indicating whether to set the DataColumn.DataType property in a second pass.
</summary>
</member>
<member name="P:ExcelDataReader.ExcelDataSetConfiguration.ConfigureDataTable">
<summary>
Gets or sets a callback to obtain configuration options for a DataTable.
</summary>
</member>
<member name="P:ExcelDataReader.ExcelDataSetConfiguration.FilterSheet">
<summary>
Gets or sets a callback to determine whether to include the current sheet in the DataSet. Called once per sheet before ConfigureDataTable.
</summary>
</member>
<member name="T:ExcelDataReader.ExcelDataTableConfiguration">
<summary>
Processing configuration options and callbacks for AsDataTable().
</summary>
</member>
<member name="P:ExcelDataReader.ExcelDataTableConfiguration.EmptyColumnNamePrefix">
<summary>
Gets or sets a value indicating the prefix of generated column names.
</summary>
</member>
<member name="P:ExcelDataReader.ExcelDataTableConfiguration.UseHeaderRow">
<summary>
Gets or sets a value indicating whether to use a row from the data as column names.
</summary>
</member>
<member name="P:ExcelDataReader.ExcelDataTableConfiguration.ReadHeaderRow">
<summary>
Gets or sets a callback to determine which row is the header row. Only called when UseHeaderRow = true.
</summary>
</member>
<member name="P:ExcelDataReader.ExcelDataTableConfiguration.FilterRow">
<summary>
Gets or sets a callback to determine whether to include the current row in the DataTable.
</summary>
</member>
<member name="P:ExcelDataReader.ExcelDataTableConfiguration.FilterColumn">
<summary>
Gets or sets a callback to determine whether to include the specific column in the DataTable. Called once per column after reading the headers.
</summary>
</member>
</members>
</doc>

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5.1" />
</startup>
</configuration>

View File

@@ -0,0 +1,15 @@
@SET EXCEL_FOLDER=xls
@SET JSON_FOLDER=..\..\TResources\Config
@SET EXE= Tools\excel2json\excel2json.exe
@SET CsharpPath=..\..\ConfigStruct
@ECHO Del old Config...
del %JSON_FOLDER% /S /Q
del %CsharpPath% /S /Q
@ECHO Converting excel files in folder %EXCEL_FOLDER% ...
for /f "delims=" %%i in ('dir /b /a-d /s %EXCEL_FOLDER%\*.xlsx') do (
@echo processing %%~nxi
@CALL %EXE% --excel %EXCEL_FOLDER%\%%~nxi --json %JSON_FOLDER%\%%~ni.json --p %CsharpPath%\%%~ni.cs --header 3 --cell_json true --a --exclude_prefix #
)
pause

Binary file not shown.

Binary file not shown.