安虹睿 1 year ago
parent
commit
621b4680e1
  1. BIN
      Code/Be/CreateEntityByDBTable/WinFormsApp1/.vs/ProjectEvaluation/winformsapp1.metadata.v7.bin
  2. BIN
      Code/Be/CreateEntityByDBTable/WinFormsApp1/.vs/ProjectEvaluation/winformsapp1.projects.v7.bin
  3. BIN
      Code/Be/CreateEntityByDBTable/WinFormsApp1/.vs/WinFormsApp1/DesignTimeBuild/.dtbcache.v2
  4. BIN
      Code/Be/CreateEntityByDBTable/WinFormsApp1/.vs/WinFormsApp1/FileContentIndex/c03ab1ae-d903-42c7-aaf3-6fddb5fa73cf.vsidx
  5. BIN
      Code/Be/CreateEntityByDBTable/WinFormsApp1/.vs/WinFormsApp1/FileContentIndex/c583f4ce-31ea-4c77-b196-a41df50cc0f6.vsidx
  6. 0
      Code/Be/CreateEntityByDBTable/WinFormsApp1/.vs/WinFormsApp1/FileContentIndex/read.lock
  7. BIN
      Code/Be/CreateEntityByDBTable/WinFormsApp1/.vs/WinFormsApp1/v17/.futdcache.v2
  8. BIN
      Code/Be/CreateEntityByDBTable/WinFormsApp1/.vs/WinFormsApp1/v17/.suo
  9. 25
      Code/Be/CreateEntityByDBTable/WinFormsApp1/WinFormsApp1.sln
  10. 92
      Code/Be/CreateEntityByDBTable/WinFormsApp1/WinFormsApp1/Form1.Designer.cs
  11. 230
      Code/Be/CreateEntityByDBTable/WinFormsApp1/WinFormsApp1/Form1.cs
  12. 120
      Code/Be/CreateEntityByDBTable/WinFormsApp1/WinFormsApp1/Form1.resx
  13. 17
      Code/Be/CreateEntityByDBTable/WinFormsApp1/WinFormsApp1/Program.cs
  14. 15
      Code/Be/CreateEntityByDBTable/WinFormsApp1/WinFormsApp1/WinFormsApp1.csproj
  15. 8
      Code/Be/CreateEntityByDBTable/WinFormsApp1/WinFormsApp1/WinFormsApp1.csproj.user
  16. BIN
      Code/Be/CreateEntityByDBTable/WinFormsApp1/WinFormsApp1/bin/Debug/net6.0-windows/System.Data.SqlClient.dll
  17. 164
      Code/Be/CreateEntityByDBTable/WinFormsApp1/WinFormsApp1/bin/Debug/net6.0-windows/WinFormsApp1.deps.json
  18. BIN
      Code/Be/CreateEntityByDBTable/WinFormsApp1/WinFormsApp1/bin/Debug/net6.0-windows/WinFormsApp1.dll
  19. BIN
      Code/Be/CreateEntityByDBTable/WinFormsApp1/WinFormsApp1/bin/Debug/net6.0-windows/WinFormsApp1.exe
  20. BIN
      Code/Be/CreateEntityByDBTable/WinFormsApp1/WinFormsApp1/bin/Debug/net6.0-windows/WinFormsApp1.pdb
  21. 15
      Code/Be/CreateEntityByDBTable/WinFormsApp1/WinFormsApp1/bin/Debug/net6.0-windows/WinFormsApp1.runtimeconfig.json
  22. 13
      Code/Be/CreateEntityByDBTable/WinFormsApp1/WinFormsApp1/bin/Debug/net6.0-windows/cs_file/AbpAuditLogActions.cs
  23. 25
      Code/Be/CreateEntityByDBTable/WinFormsApp1/WinFormsApp1/bin/Debug/net6.0-windows/cs_file/AbpAuditLogs.cs
  24. 11
      Code/Be/CreateEntityByDBTable/WinFormsApp1/WinFormsApp1/bin/Debug/net6.0-windows/cs_file/AbpSettings.cs
  25. 12
      Code/Be/CreateEntityByDBTable/WinFormsApp1/WinFormsApp1/bin/Debug/net6.0-windows/cs_file/AppExportCustomUserSettings.cs
  26. 27
      Code/Be/CreateEntityByDBTable/WinFormsApp1/WinFormsApp1/bin/Debug/net6.0-windows/cs_file/CheckJob.cs
  27. 30
      Code/Be/CreateEntityByDBTable/WinFormsApp1/WinFormsApp1/bin/Debug/net6.0-windows/cs_file/CheckJobDetail.cs
  28. 33
      Code/Be/CreateEntityByDBTable/WinFormsApp1/WinFormsApp1/bin/Debug/net6.0-windows/cs_file/CountJob.cs
  29. 33
      Code/Be/CreateEntityByDBTable/WinFormsApp1/WinFormsApp1/bin/Debug/net6.0-windows/cs_file/CountJobDetail.cs
  30. 29
      Code/Be/CreateEntityByDBTable/WinFormsApp1/WinFormsApp1/bin/Debug/net6.0-windows/cs_file/DeliverJob.cs
  31. 50
      Code/Be/CreateEntityByDBTable/WinFormsApp1/WinFormsApp1/bin/Debug/net6.0-windows/cs_file/DeliverJobDetail.cs
  32. 34
      Code/Be/CreateEntityByDBTable/WinFormsApp1/WinFormsApp1/bin/Debug/net6.0-windows/cs_file/InspectJob.cs
  33. 52
      Code/Be/CreateEntityByDBTable/WinFormsApp1/WinFormsApp1/bin/Debug/net6.0-windows/cs_file/InspectJobDetail.cs
  34. 52
      Code/Be/CreateEntityByDBTable/WinFormsApp1/WinFormsApp1/bin/Debug/net6.0-windows/cs_file/InspectJobSummaryDetail.cs
  35. 29
      Code/Be/CreateEntityByDBTable/WinFormsApp1/WinFormsApp1/bin/Debug/net6.0-windows/cs_file/IssueJob.cs
  36. 50
      Code/Be/CreateEntityByDBTable/WinFormsApp1/WinFormsApp1/bin/Debug/net6.0-windows/cs_file/IssueJobDetail.cs
  37. 35
      Code/Be/CreateEntityByDBTable/WinFormsApp1/WinFormsApp1/bin/Debug/net6.0-windows/cs_file/JisDeliverJob.cs
  38. 17
      Code/Be/CreateEntityByDBTable/WinFormsApp1/WinFormsApp1/bin/Debug/net6.0-windows/cs_file/JisDeliverJobDetail.cs
  39. 29
      Code/Be/CreateEntityByDBTable/WinFormsApp1/WinFormsApp1/bin/Debug/net6.0-windows/cs_file/ProductReceiveJob.cs
  40. 39
      Code/Be/CreateEntityByDBTable/WinFormsApp1/WinFormsApp1/bin/Debug/net6.0-windows/cs_file/ProductReceiveJobDetail.cs
  41. 35
      Code/Be/CreateEntityByDBTable/WinFormsApp1/WinFormsApp1/bin/Debug/net6.0-windows/cs_file/PurchaseReceiptJob.cs
  42. 41
      Code/Be/CreateEntityByDBTable/WinFormsApp1/WinFormsApp1/bin/Debug/net6.0-windows/cs_file/PurchaseReceiptJobDetail.cs
  43. 31
      Code/Be/CreateEntityByDBTable/WinFormsApp1/WinFormsApp1/bin/Debug/net6.0-windows/cs_file/PurchaseReturnJob.cs
  44. 39
      Code/Be/CreateEntityByDBTable/WinFormsApp1/WinFormsApp1/bin/Debug/net6.0-windows/cs_file/PurchaseReturnJobDetail.cs
  45. 35
      Code/Be/CreateEntityByDBTable/WinFormsApp1/WinFormsApp1/bin/Debug/net6.0-windows/cs_file/PutawayJob.cs
  46. 40
      Code/Be/CreateEntityByDBTable/WinFormsApp1/WinFormsApp1/bin/Debug/net6.0-windows/cs_file/PutawayJobDetail.cs
  47. 9
      Code/Be/CreateEntityByDBTable/WinFormsApp1/WinFormsApp1/bin/Debug/net6.0-windows/cs_file/__EFMigrationsHistory.cs
  48. BIN
      Code/Be/CreateEntityByDBTable/WinFormsApp1/WinFormsApp1/bin/Debug/net6.0-windows/runtimes/unix/lib/netcoreapp2.1/System.Data.SqlClient.dll
  49. BIN
      Code/Be/CreateEntityByDBTable/WinFormsApp1/WinFormsApp1/bin/Debug/net6.0-windows/runtimes/win-arm64/native/sni.dll
  50. BIN
      Code/Be/CreateEntityByDBTable/WinFormsApp1/WinFormsApp1/bin/Debug/net6.0-windows/runtimes/win-x64/native/sni.dll
  51. BIN
      Code/Be/CreateEntityByDBTable/WinFormsApp1/WinFormsApp1/bin/Debug/net6.0-windows/runtimes/win-x86/native/sni.dll
  52. BIN
      Code/Be/CreateEntityByDBTable/WinFormsApp1/WinFormsApp1/bin/Debug/net6.0-windows/runtimes/win/lib/netcoreapp2.1/System.Data.SqlClient.dll
  53. 4
      Code/Be/CreateEntityByDBTable/WinFormsApp1/WinFormsApp1/obj/Debug/net6.0-windows/.NETCoreApp,Version=v6.0.AssemblyAttributes.cs
  54. 25
      Code/Be/CreateEntityByDBTable/WinFormsApp1/WinFormsApp1/obj/Debug/net6.0-windows/WinFormsApp1.AssemblyInfo.cs
  55. 1
      Code/Be/CreateEntityByDBTable/WinFormsApp1/WinFormsApp1/obj/Debug/net6.0-windows/WinFormsApp1.AssemblyInfoInputs.cache
  56. BIN
      Code/Be/CreateEntityByDBTable/WinFormsApp1/WinFormsApp1/obj/Debug/net6.0-windows/WinFormsApp1.Form1.resources
  57. 17
      Code/Be/CreateEntityByDBTable/WinFormsApp1/WinFormsApp1/obj/Debug/net6.0-windows/WinFormsApp1.GeneratedMSBuildEditorConfig.editorconfig
  58. 10
      Code/Be/CreateEntityByDBTable/WinFormsApp1/WinFormsApp1/obj/Debug/net6.0-windows/WinFormsApp1.GlobalUsings.g.cs
  59. BIN
      Code/Be/CreateEntityByDBTable/WinFormsApp1/WinFormsApp1/obj/Debug/net6.0-windows/WinFormsApp1.assets.cache
  60. BIN
      Code/Be/CreateEntityByDBTable/WinFormsApp1/WinFormsApp1/obj/Debug/net6.0-windows/WinFormsApp1.csproj.AssemblyReference.cache
  61. 0
      Code/Be/CreateEntityByDBTable/WinFormsApp1/WinFormsApp1/obj/Debug/net6.0-windows/WinFormsApp1.csproj.BuildWithSkipAnalyzers
  62. 0
      Code/Be/CreateEntityByDBTable/WinFormsApp1/WinFormsApp1/obj/Debug/net6.0-windows/WinFormsApp1.csproj.CopyComplete
  63. 1
      Code/Be/CreateEntityByDBTable/WinFormsApp1/WinFormsApp1/obj/Debug/net6.0-windows/WinFormsApp1.csproj.CoreCompileInputs.cache
  64. 48
      Code/Be/CreateEntityByDBTable/WinFormsApp1/WinFormsApp1/obj/Debug/net6.0-windows/WinFormsApp1.csproj.FileListAbsolute.txt
  65. BIN
      Code/Be/CreateEntityByDBTable/WinFormsApp1/WinFormsApp1/obj/Debug/net6.0-windows/WinFormsApp1.csproj.GenerateResource.cache
  66. 206
      Code/Be/CreateEntityByDBTable/WinFormsApp1/WinFormsApp1/obj/Debug/net6.0-windows/WinFormsApp1.designer.deps.json
  67. 23
      Code/Be/CreateEntityByDBTable/WinFormsApp1/WinFormsApp1/obj/Debug/net6.0-windows/WinFormsApp1.designer.runtimeconfig.json
  68. BIN
      Code/Be/CreateEntityByDBTable/WinFormsApp1/WinFormsApp1/obj/Debug/net6.0-windows/WinFormsApp1.dll
  69. 1
      Code/Be/CreateEntityByDBTable/WinFormsApp1/WinFormsApp1/obj/Debug/net6.0-windows/WinFormsApp1.genruntimeconfig.cache
  70. BIN
      Code/Be/CreateEntityByDBTable/WinFormsApp1/WinFormsApp1/obj/Debug/net6.0-windows/WinFormsApp1.pdb
  71. BIN
      Code/Be/CreateEntityByDBTable/WinFormsApp1/WinFormsApp1/obj/Debug/net6.0-windows/apphost.exe
  72. BIN
      Code/Be/CreateEntityByDBTable/WinFormsApp1/WinFormsApp1/obj/Debug/net6.0-windows/ref/WinFormsApp1.dll
  73. BIN
      Code/Be/CreateEntityByDBTable/WinFormsApp1/WinFormsApp1/obj/Debug/net6.0-windows/refint/WinFormsApp1.dll
  74. 77
      Code/Be/CreateEntityByDBTable/WinFormsApp1/WinFormsApp1/obj/WinFormsApp1.csproj.nuget.dgspec.json
  75. 16
      Code/Be/CreateEntityByDBTable/WinFormsApp1/WinFormsApp1/obj/WinFormsApp1.csproj.nuget.g.props
  76. 2
      Code/Be/CreateEntityByDBTable/WinFormsApp1/WinFormsApp1/obj/WinFormsApp1.csproj.nuget.g.targets
  77. 545
      Code/Be/CreateEntityByDBTable/WinFormsApp1/WinFormsApp1/obj/project.assets.json
  78. 18
      Code/Be/CreateEntityByDBTable/WinFormsApp1/WinFormsApp1/obj/project.nuget.cache
  79. 10
      Code/Be/Faster.Zheng.Winin/src/Faster.Zheng.Winin.Application/AppBase/ZbxBase.cs

BIN
Code/Be/CreateEntityByDBTable/WinFormsApp1/.vs/ProjectEvaluation/winformsapp1.metadata.v7.bin

Binary file not shown.

BIN
Code/Be/CreateEntityByDBTable/WinFormsApp1/.vs/ProjectEvaluation/winformsapp1.projects.v7.bin

Binary file not shown.

BIN
Code/Be/CreateEntityByDBTable/WinFormsApp1/.vs/WinFormsApp1/DesignTimeBuild/.dtbcache.v2

Binary file not shown.

BIN
Code/Be/CreateEntityByDBTable/WinFormsApp1/.vs/WinFormsApp1/FileContentIndex/c03ab1ae-d903-42c7-aaf3-6fddb5fa73cf.vsidx

Binary file not shown.

BIN
Code/Be/CreateEntityByDBTable/WinFormsApp1/.vs/WinFormsApp1/FileContentIndex/c583f4ce-31ea-4c77-b196-a41df50cc0f6.vsidx

Binary file not shown.

0
Code/Be/CreateEntityByDBTable/WinFormsApp1/.vs/WinFormsApp1/FileContentIndex/read.lock

BIN
Code/Be/CreateEntityByDBTable/WinFormsApp1/.vs/WinFormsApp1/v17/.futdcache.v2

Binary file not shown.

BIN
Code/Be/CreateEntityByDBTable/WinFormsApp1/.vs/WinFormsApp1/v17/.suo

Binary file not shown.

25
Code/Be/CreateEntityByDBTable/WinFormsApp1/WinFormsApp1.sln

@ -0,0 +1,25 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.6.33801.468
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WinFormsApp1", "WinFormsApp1\WinFormsApp1.csproj", "{8DEDBE7C-5C38-47BD-AB01-A2D625C17885}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{8DEDBE7C-5C38-47BD-AB01-A2D625C17885}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{8DEDBE7C-5C38-47BD-AB01-A2D625C17885}.Debug|Any CPU.Build.0 = Debug|Any CPU
{8DEDBE7C-5C38-47BD-AB01-A2D625C17885}.Release|Any CPU.ActiveCfg = Release|Any CPU
{8DEDBE7C-5C38-47BD-AB01-A2D625C17885}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {778CDFE2-47C4-44C1-AD96-9D7105B35017}
EndGlobalSection
EndGlobal

92
Code/Be/CreateEntityByDBTable/WinFormsApp1/WinFormsApp1/Form1.Designer.cs

@ -0,0 +1,92 @@
namespace WinFormsApp1
{
partial class Form1
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
button1 = new Button();
txt_constr = new TextBox();
textBox1 = new TextBox();
txt_removeTbFirstName = new TextBox();
SuspendLayout();
//
// button1
//
button1.Location = new Point(197, 115);
button1.Name = "button1";
button1.Size = new Size(461, 23);
button1.TabIndex = 0;
button1.Text = "button1";
button1.UseVisualStyleBackColor = true;
button1.Click += button1_Click;
//
// txt_constr
//
txt_constr.Location = new Point(197, 38);
txt_constr.Name = "txt_constr";
txt_constr.Size = new Size(461, 23);
txt_constr.TabIndex = 1;
txt_constr.Text = "Server=dev.ccwin-in.com,13319;Database=Store_Main;uid=ccwin-in;pwd=Microsoft@2022;Packet Size=512;";
//
// textBox1
//
textBox1.Location = new Point(12, 144);
textBox1.Multiline = true;
textBox1.Name = "textBox1";
textBox1.Size = new Size(776, 294);
textBox1.TabIndex = 2;
//
// txt_removeTbFirstName
//
txt_removeTbFirstName.Location = new Point(197, 77);
txt_removeTbFirstName.Name = "txt_removeTbFirstName";
txt_removeTbFirstName.Size = new Size(461, 23);
txt_removeTbFirstName.TabIndex = 3;
//
// Form1
//
AutoScaleDimensions = new SizeF(7F, 17F);
AutoScaleMode = AutoScaleMode.Font;
ClientSize = new Size(800, 450);
Controls.Add(txt_removeTbFirstName);
Controls.Add(textBox1);
Controls.Add(txt_constr);
Controls.Add(button1);
Name = "Form1";
Text = "Form1";
ResumeLayout(false);
PerformLayout();
}
#endregion
private Button button1;
private TextBox txt_constr;
private TextBox textBox1;
private TextBox txt_removeTbFirstName;
}
}

230
Code/Be/CreateEntityByDBTable/WinFormsApp1/WinFormsApp1/Form1.cs

@ -0,0 +1,230 @@
using System.Data;
using System.Data.SqlClient;
namespace WinFormsApp1;
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void button1_Click(object sender, EventArgs e)
{
//创建输出路径
var strPath = Environment.CurrentDirectory;
var outPath = strPath + "\\cs_file";
Directory.CreateDirectory(outPath);
//不创建的属性名
string[] ignore =
{
"ConcurrencyStamp", "CreationTime", "CreatorId", "LastModificationTime", "LastModifierId", "TenantId", "Id","ExtraProperties"
};
//数据库链接字符串
var constr = txt_constr.Text.Trim();
//查询库下所有的表
var dataTable = GetDataTable("select * from sys.tables", constr);
foreach (DataRow row in dataTable.Rows)
{
//要生成的表名
var tbname = row["name"].ToString();
//表下所有属性值遍历
var dt = GetDbTableInfo(tbname, constr);
var firstName = tbname.Substring(0, txt_removeTbFirstName.Text.Length);
if (firstName == txt_removeTbFirstName.Text) tbname = tbname.Substring(txt_removeTbFirstName.Text.Length);
var list = new List<string>();
//生成实体的字符串
var context = "";
context += "using System;\r\n";
context += "using System.Collections.Generic;\r\n";
context += "using Volo.Abp.Domain.Entities.Auditing;\r\n";
context += $"public class {tbname} : AuditedAggregateRoot<Guid>\r\n";
context += "{\r\n";
for (var i = 0; i < dt.Rows.Count; i++)
{
var Name = dt.Rows[i]["Name"].ToString();
if (ignore.Any(p => p.ToLower() == Name.ToLower())) continue;
var Type = dt.Rows[i]["Type"].ToString();
var IsNullable = dt.Rows[i]["IsNullable"].ToString();
var IsIdentity = dt.Rows[i]["IsIdentity"].ToString();
var Description = dt.Rows[i]["Description"].ToString();
var IsKey = dt.Rows[i]["IsKey"].ToString();
var type = DbTypeStr_To_CsharpType(Type);
var typeStr= type.Name;;
#region
switch (type.Name)
{
case "String":
typeStr = "string?";
break;
case "Boolean":
typeStr = "bool?";
break;
case "Int32":
typeStr = "int?";
break;
case "Decimal":
typeStr = "decimal?";
break;
case "Guid":
typeStr = "Guid?";
break;
case "DateTime":
typeStr = "DateTime?";
break;
}
#endregion
context += $@"public {typeStr} {Name} {{ get; set; }}" + "\r\n";
}
if (tbname.IndexOf("Detail") == -1)
{
context += $"public List<{tbname}Detail> Details {{ get; set; }} = new();" + "\r\n";
}
context += "}\r\n";
//创建文件夹
if (tbname.IndexOf("Detail") == -1) Directory.CreateDirectory(outPath + "\\" + tbname);
//创建文件
var fileName = outPath + "\\" + tbname + ".cs";
WriteDataFile(fileName, context);
}
}
private void WriteDataFile(string filepath, string text)
{
// Note: You should handle potential IO errors in a try/catch block
using (var fs = File.Create(filepath))
{
using (var sw = new StreamWriter(fs))
{
sw.WriteLine(text);
}
}
}
/// <summary>
/// 根据参数,获取数据表信息
/// </summary>
/// <param name="tabname"></param>
public DataTable GetDbTableInfo(string tabname, string constr)
{
var str = string.Format(@"select
sys.columns.column_id as [ColumnId],
sys.columns.name as [Name],
sys.types.name as [Type],
sys.columns.is_nullable [IsNullable],
[IsIdentity]=CONVERT(BIT, (select count(*) from sys.identity_columns where sys.identity_columns.object_id = sys.columns.object_id and sys.columns.column_id = sys.identity_columns.column_id)),
(select value from sys.extended_properties where sys.extended_properties.major_id = sys.columns.object_id and sys.extended_properties.minor_id = sys.columns.column_id and name='MS_Description') as [Description],
[IsKey] =CONVERT(bit,(case when sys.columns.name in (select b.column_name
from information_schema.table_constraints a
inner join information_schema.constraint_column_usage b
on a.constraint_name = b.constraint_name
where a.constraint_type = 'PRIMARY KEY' and a.table_name = '{0}') then 1 else 0 end))
from sys.columns, sys.views, sys.types where sys.columns.object_id = sys.views.object_id and sys.columns.system_type_id=sys.types.system_type_id and sys.views.name='{0}' and sys.types.name !='sysname'
union
select
sys.columns.column_id as [ColumnId],
sys.columns.name as [Name],
sys.types.name as [Type],
sys.columns.is_nullable [IsNullable],
[IsIdentity]=CONVERT(BIT, (select count(*) from sys.identity_columns where sys.identity_columns.object_id = sys.columns.object_id and sys.columns.column_id = sys.identity_columns.column_id)),
(select value from sys.extended_properties where sys.extended_properties.major_id = sys.columns.object_id and sys.extended_properties.minor_id = sys.columns.column_id and name='MS_Description') as [Description],
[IsKey] =CONVERT(bit,(case when sys.columns.name in (select b.column_name
from information_schema.table_constraints a
inner join information_schema.constraint_column_usage b
on a.constraint_name = b.constraint_name
where a.constraint_type = 'PRIMARY KEY' and a.table_name = '{0}') then 1 else 0 end))
from sys.columns, sys.tables, sys.types where sys.columns.object_id = sys.tables.object_id and sys.columns.system_type_id=sys.types.system_type_id and sys.tables.name='{0}' and sys.types.name !='sysname'
order by sys.columns.column_id asc", tabname);
var dt = GetDataTable(str, constr);
return dt;
}
public DataTable GetDataTable(string sql, string constr)
{
var dt = new DataTable();
using (var connection = new SqlConnection(constr))
{
//定义执行SQL语句,可以为select查询,也可以为存储过程,我们要的只是返回的结果集.
//强大的SqlDataAdapter
var adapter = new SqlDataAdapter(sql, connection);
var ds = new DataSet();
//Fill 方法会执行一系列操作 connection.open command.reader 等等
//反正到最后就把 sql语句执行一遍,然后把结果集插入到 ds 里.
adapter.Fill(ds);
dt = ds.Tables[0];
}
return dt;
}
/// <summary>
/// 类型转换枚举
/// </summary>
protected Dictionary<string, Type> DbTypeDic { get; } = new()
{
{ "int", typeof(int) },
{ "text", typeof(string) },
{ "bigint", typeof(long) },
{ "binary", typeof(byte[]) },
{ "bit", typeof(bool) },
{ "char", typeof(string) },
{ "date", typeof(DateTime) },
{ "datetime", typeof(DateTime) },
{ "datetime2", typeof(DateTime) },
{ "decimal", typeof(decimal) },
{ "float", typeof(double) },
{ "image", typeof(byte[]) },
{ "money", typeof(decimal) },
{ "nchar", typeof(string) },
{ "ntext", typeof(string) },
{ "numeric", typeof(decimal) },
{ "nvarchar", typeof(string) },
{ "real", typeof(float) },
{ "smalldatetime", typeof(DateTime) },
{ "smallint", typeof(short) },
{ "smallmoney", typeof(decimal) },
{ "timestamp", typeof(DateTime) },
{ "tinyint", typeof(byte) },
{ "varbinary", typeof(byte[]) },
{ "varchar", typeof(string) },
{ "variant", typeof(object) },
{ "uniqueidentifier", typeof(Guid) }
};
/// <summary>
/// 获取字段类型
/// </summary>
/// <param name="dbTypeStr"></param>
/// <returns></returns>
public virtual Type DbTypeStr_To_CsharpType(string dbTypeStr)
{
var _dbTypeStr = dbTypeStr.ToLower();
Type type = null;
if (DbTypeDic.ContainsKey(_dbTypeStr))
type = DbTypeDic[_dbTypeStr];
else
type = typeof(string);
return type;
}
}

120
Code/Be/CreateEntityByDBTable/WinFormsApp1/WinFormsApp1/Form1.resx

@ -0,0 +1,120 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing"">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>

17
Code/Be/CreateEntityByDBTable/WinFormsApp1/WinFormsApp1/Program.cs

@ -0,0 +1,17 @@
namespace WinFormsApp1
{
internal static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main()
{
// To customize application configuration such as set high DPI settings or default font,
// see https://aka.ms/applicationconfiguration.
ApplicationConfiguration.Initialize();
Application.Run(new Form1());
}
}
}

15
Code/Be/CreateEntityByDBTable/WinFormsApp1/WinFormsApp1/WinFormsApp1.csproj

@ -0,0 +1,15 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>WinExe</OutputType>
<TargetFramework>net6.0-windows</TargetFramework>
<Nullable>enable</Nullable>
<UseWindowsForms>true</UseWindowsForms>
<ImplicitUsings>enable</ImplicitUsings>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="System.Data.SqlClient" Version="4.8.5" />
</ItemGroup>
</Project>

8
Code/Be/CreateEntityByDBTable/WinFormsApp1/WinFormsApp1/WinFormsApp1.csproj.user

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<Compile Update="Form1.cs">
<SubType>Form</SubType>
</Compile>
</ItemGroup>
</Project>

BIN
Code/Be/CreateEntityByDBTable/WinFormsApp1/WinFormsApp1/bin/Debug/net6.0-windows/System.Data.SqlClient.dll

Binary file not shown.

164
Code/Be/CreateEntityByDBTable/WinFormsApp1/WinFormsApp1/bin/Debug/net6.0-windows/WinFormsApp1.deps.json

@ -0,0 +1,164 @@
{
"runtimeTarget": {
"name": ".NETCoreApp,Version=v6.0",
"signature": ""
},
"compilationOptions": {},
"targets": {
".NETCoreApp,Version=v6.0": {
"WinFormsApp1/1.0.0": {
"dependencies": {
"System.Data.SqlClient": "4.8.5"
},
"runtime": {
"WinFormsApp1.dll": {}
}
},
"Microsoft.NETCore.Platforms/3.1.0": {},
"Microsoft.Win32.Registry/4.7.0": {
"dependencies": {
"System.Security.AccessControl": "4.7.0",
"System.Security.Principal.Windows": "4.7.0"
}
},
"runtime.native.System.Data.SqlClient.sni/4.7.0": {
"dependencies": {
"runtime.win-arm64.runtime.native.System.Data.SqlClient.sni": "4.4.0",
"runtime.win-x64.runtime.native.System.Data.SqlClient.sni": "4.4.0",
"runtime.win-x86.runtime.native.System.Data.SqlClient.sni": "4.4.0"
}
},
"runtime.win-arm64.runtime.native.System.Data.SqlClient.sni/4.4.0": {
"runtimeTargets": {
"runtimes/win-arm64/native/sni.dll": {
"rid": "win-arm64",
"assetType": "native",
"fileVersion": "4.6.25512.1"
}
}
},
"runtime.win-x64.runtime.native.System.Data.SqlClient.sni/4.4.0": {
"runtimeTargets": {
"runtimes/win-x64/native/sni.dll": {
"rid": "win-x64",
"assetType": "native",
"fileVersion": "4.6.25512.1"
}
}
},
"runtime.win-x86.runtime.native.System.Data.SqlClient.sni/4.4.0": {
"runtimeTargets": {
"runtimes/win-x86/native/sni.dll": {
"rid": "win-x86",
"assetType": "native",
"fileVersion": "4.6.25512.1"
}
}
},
"System.Data.SqlClient/4.8.5": {
"dependencies": {
"Microsoft.Win32.Registry": "4.7.0",
"System.Security.Principal.Windows": "4.7.0",
"runtime.native.System.Data.SqlClient.sni": "4.7.0"
},
"runtime": {
"lib/netcoreapp2.1/System.Data.SqlClient.dll": {
"assemblyVersion": "4.6.1.5",
"fileVersion": "4.700.22.51706"
}
},
"runtimeTargets": {
"runtimes/unix/lib/netcoreapp2.1/System.Data.SqlClient.dll": {
"rid": "unix",
"assetType": "runtime",
"assemblyVersion": "4.6.1.5",
"fileVersion": "4.700.22.51706"
},
"runtimes/win/lib/netcoreapp2.1/System.Data.SqlClient.dll": {
"rid": "win",
"assetType": "runtime",
"assemblyVersion": "4.6.1.5",
"fileVersion": "4.700.22.51706"
}
}
},
"System.Security.AccessControl/4.7.0": {
"dependencies": {
"Microsoft.NETCore.Platforms": "3.1.0",
"System.Security.Principal.Windows": "4.7.0"
}
},
"System.Security.Principal.Windows/4.7.0": {}
}
},
"libraries": {
"WinFormsApp1/1.0.0": {
"type": "project",
"serviceable": false,
"sha512": ""
},
"Microsoft.NETCore.Platforms/3.1.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-z7aeg8oHln2CuNulfhiLYxCVMPEwBl3rzicjvIX+4sUuCwvXw5oXQEtbiU2c0z4qYL5L3Kmx0mMA/+t/SbY67w==",
"path": "microsoft.netcore.platforms/3.1.0",
"hashPath": "microsoft.netcore.platforms.3.1.0.nupkg.sha512"
},
"Microsoft.Win32.Registry/4.7.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-KSrRMb5vNi0CWSGG1++id2ZOs/1QhRqROt+qgbEAdQuGjGrFcl4AOl4/exGPUYz2wUnU42nvJqon1T3U0kPXLA==",
"path": "microsoft.win32.registry/4.7.0",
"hashPath": "microsoft.win32.registry.4.7.0.nupkg.sha512"
},
"runtime.native.System.Data.SqlClient.sni/4.7.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-9kyFSIdN3T0qjDQ2R0HRXYIhS3l5psBzQi6qqhdLz+SzFyEy4sVxNOke+yyYv8Cu8rPER12c3RDjLT8wF3WBYQ==",
"path": "runtime.native.system.data.sqlclient.sni/4.7.0",
"hashPath": "runtime.native.system.data.sqlclient.sni.4.7.0.nupkg.sha512"
},
"runtime.win-arm64.runtime.native.System.Data.SqlClient.sni/4.4.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-LbrynESTp3bm5O/+jGL8v0Qg5SJlTV08lpIpFesXjF6uGNMWqFnUQbYBJwZTeua6E/Y7FIM1C54Ey1btLWupdg==",
"path": "runtime.win-arm64.runtime.native.system.data.sqlclient.sni/4.4.0",
"hashPath": "runtime.win-arm64.runtime.native.system.data.sqlclient.sni.4.4.0.nupkg.sha512"
},
"runtime.win-x64.runtime.native.System.Data.SqlClient.sni/4.4.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-38ugOfkYJqJoX9g6EYRlZB5U2ZJH51UP8ptxZgdpS07FgOEToV+lS11ouNK2PM12Pr6X/PpT5jK82G3DwH/SxQ==",
"path": "runtime.win-x64.runtime.native.system.data.sqlclient.sni/4.4.0",
"hashPath": "runtime.win-x64.runtime.native.system.data.sqlclient.sni.4.4.0.nupkg.sha512"
},
"runtime.win-x86.runtime.native.System.Data.SqlClient.sni/4.4.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-YhEdSQUsTx+C8m8Bw7ar5/VesXvCFMItyZF7G1AUY+OM0VPZUOeAVpJ4Wl6fydBGUYZxojTDR3I6Bj/+BPkJNA==",
"path": "runtime.win-x86.runtime.native.system.data.sqlclient.sni/4.4.0",
"hashPath": "runtime.win-x86.runtime.native.system.data.sqlclient.sni.4.4.0.nupkg.sha512"
},
"System.Data.SqlClient/4.8.5": {
"type": "package",
"serviceable": true,
"sha512": "sha512-fRqxut4lrndPHrXD+ht1XRmCL3obuKldm4XjCRYS9p5f7FSR7shBxAwTkDrpFMsHC9BhNgjjmUtiIjvehn5zkg==",
"path": "system.data.sqlclient/4.8.5",
"hashPath": "system.data.sqlclient.4.8.5.nupkg.sha512"
},
"System.Security.AccessControl/4.7.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-JECvTt5aFF3WT3gHpfofL2MNNP6v84sxtXxpqhLBCcDRzqsPBmHhQ6shv4DwwN2tRlzsUxtb3G9M3763rbXKDg==",
"path": "system.security.accesscontrol/4.7.0",
"hashPath": "system.security.accesscontrol.4.7.0.nupkg.sha512"
},
"System.Security.Principal.Windows/4.7.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-ojD0PX0XhneCsUbAZVKdb7h/70vyYMDYs85lwEI+LngEONe/17A0cFaRFqZU+sOEidcVswYWikYOQ9PPfjlbtQ==",
"path": "system.security.principal.windows/4.7.0",
"hashPath": "system.security.principal.windows.4.7.0.nupkg.sha512"
}
}
}

BIN
Code/Be/CreateEntityByDBTable/WinFormsApp1/WinFormsApp1/bin/Debug/net6.0-windows/WinFormsApp1.dll

Binary file not shown.

BIN
Code/Be/CreateEntityByDBTable/WinFormsApp1/WinFormsApp1/bin/Debug/net6.0-windows/WinFormsApp1.exe

Binary file not shown.

BIN
Code/Be/CreateEntityByDBTable/WinFormsApp1/WinFormsApp1/bin/Debug/net6.0-windows/WinFormsApp1.pdb

Binary file not shown.

15
Code/Be/CreateEntityByDBTable/WinFormsApp1/WinFormsApp1/bin/Debug/net6.0-windows/WinFormsApp1.runtimeconfig.json

@ -0,0 +1,15 @@
{
"runtimeOptions": {
"tfm": "net6.0",
"frameworks": [
{
"name": "Microsoft.NETCore.App",
"version": "6.0.0"
},
{
"name": "Microsoft.WindowsDesktop.App",
"version": "6.0.0"
}
]
}
}

13
Code/Be/CreateEntityByDBTable/WinFormsApp1/WinFormsApp1/bin/Debug/net6.0-windows/cs_file/AbpAuditLogActions.cs

@ -0,0 +1,13 @@
using System;
using System.Collections.Generic;
using Volo.Abp.Domain.Entities.Auditing;
public class AbpAuditLogActions : AuditedAggregateRoot<Guid>
{
public Guid? AuditLogId { get; set; }
public string? ServiceName { get; set; }
public string? MethodName { get; set; }
public string? Parameters { get; set; }
public DateTime? ExecutionTime { get; set; }
public int? ExecutionDuration { get; set; }
public List<AbpAuditLogActionsDetail> Details { get; set; } = new();}

25
Code/Be/CreateEntityByDBTable/WinFormsApp1/WinFormsApp1/bin/Debug/net6.0-windows/cs_file/AbpAuditLogs.cs

@ -0,0 +1,25 @@
using System;
using System.Collections.Generic;
using Volo.Abp.Domain.Entities.Auditing;
public class AbpAuditLogs : AuditedAggregateRoot<Guid>
{
public string? ApplicationName { get; set; }
public Guid? UserId { get; set; }
public string? UserName { get; set; }
public string? TenantName { get; set; }
public Guid? ImpersonatorUserId { get; set; }
public Guid? ImpersonatorTenantId { get; set; }
public DateTime? ExecutionTime { get; set; }
public int? ExecutionDuration { get; set; }
public string? ClientIpAddress { get; set; }
public string? ClientName { get; set; }
public string? ClientId { get; set; }
public string? CorrelationId { get; set; }
public string? BrowserInfo { get; set; }
public string? HttpMethod { get; set; }
public string? Url { get; set; }
public string? Exceptions { get; set; }
public string? Comments { get; set; }
public int? HttpStatusCode { get; set; }
public List<AbpAuditLogsDetail> Details { get; set; } = new();}

11
Code/Be/CreateEntityByDBTable/WinFormsApp1/WinFormsApp1/bin/Debug/net6.0-windows/cs_file/AbpSettings.cs

@ -0,0 +1,11 @@
using System;
using System.Collections.Generic;
using Volo.Abp.Domain.Entities.Auditing;
public class AbpSettings : AuditedAggregateRoot<Guid>
{
public string? Name { get; set; }
public string? Value { get; set; }
public string? ProviderName { get; set; }
public string? ProviderKey { get; set; }
public List<AbpSettingsDetail> Details { get; set; } = new();}

12
Code/Be/CreateEntityByDBTable/WinFormsApp1/WinFormsApp1/bin/Debug/net6.0-windows/cs_file/AppExportCustomUserSettings.cs

@ -0,0 +1,12 @@
using System;
using System.Collections.Generic;
using Volo.Abp.Domain.Entities.Auditing;
public class AppExportCustomUserSettings : AuditedAggregateRoot<Guid>
{
public Guid? ExportUserId { get; set; }
public string? ExportUserName { get; set; }
public string? ExportColumnName { get; set; }
public string? ExportTableName { get; set; }
public int? CustomUserSetting { get; set; }
public List<AppExportCustomUserSettingsDetail> Details { get; set; } = new();}

27
Code/Be/CreateEntityByDBTable/WinFormsApp1/WinFormsApp1/bin/Debug/net6.0-windows/cs_file/CheckJob.cs

@ -0,0 +1,27 @@
using System;
using System.Collections.Generic;
using Volo.Abp.Domain.Entities.Auditing;
public class CheckJob : AuditedAggregateRoot<Guid>
{
public string? DeliverNoteNumber { get; set; }
public string? Remark { get; set; }
public string? Company { get; set; }
public string? Worker { get; set; }
public string? WarehouseCode { get; set; }
public string? Number { get; set; }
public string? UpStreamJobNumber { get; set; }
public string? JobDescription { get; set; }
public int? JobType { get; set; }
public int? JobStatus { get; set; }
public int? Priority { get; set; }
public int? PriorityIncrement { get; set; }
public string? WorkGroupCode { get; set; }
public bool? IsAutoComplete { get; set; }
public Guid? AcceptUserId { get; set; }
public string? AcceptUserName { get; set; }
public DateTime? AcceptTime { get; set; }
public Guid? CompleteUserId { get; set; }
public string? CompleteUserName { get; set; }
public DateTime? CompleteTime { get; set; }
public List<CheckJobDetail> Details { get; set; } = new();}

30
Code/Be/CreateEntityByDBTable/WinFormsApp1/WinFormsApp1/bin/Debug/net6.0-windows/cs_file/CheckJobDetail.cs

@ -0,0 +1,30 @@
using System;
using System.Collections.Generic;
using Volo.Abp.Domain.Entities.Auditing;
public class CheckJobDetail : AuditedAggregateRoot<Guid>
{
public string? Order { get; set; }
public string? CustomerItemCode { get; set; }
public string? Qty_Uom { get; set; }
public decimal? Qty_Qty { get; set; }
public Guid? MasterID { get; set; }
public string? Number { get; set; }
public string? Remark { get; set; }
public Guid? Item_Id { get; set; }
public string? Item_Name { get; set; }
public string? Item_Desc1 { get; set; }
public string? Item_Desc2 { get; set; }
public string? ItemCode { get; set; }
public string? StdPack_PackUom { get; set; }
public decimal? StdPack_PackQty { get; set; }
public int? Status { get; set; }
public string? ContainerCode { get; set; }
public string? PackingCode { get; set; }
public string? Lot { get; set; }
public string? Batch_SupplierBatch { get; set; }
public DateTime? Batch_ProduceDate { get; set; }
public string? LocationCode { get; set; }
public string? WarehouseCode { get; set; }
public DateTime? Batch_ExpireDate { get; set; }
}

33
Code/Be/CreateEntityByDBTable/WinFormsApp1/WinFormsApp1/bin/Debug/net6.0-windows/cs_file/CountJob.cs

@ -0,0 +1,33 @@
using System;
using System.Collections.Generic;
using Volo.Abp.Domain.Entities.Auditing;
public class CountJob : AuditedAggregateRoot<Guid>
{
public string? CountPlanNumber { get; set; }
public int? CountStage { get; set; }
public string? Remark { get; set; }
public string? Company { get; set; }
public string? Worker { get; set; }
public string? WarehouseCode { get; set; }
public string? Number { get; set; }
public string? UpStreamJobNumber { get; set; }
public string? JobDescription { get; set; }
public int? JobType { get; set; }
public int? JobStatus { get; set; }
public int? Priority { get; set; }
public int? PriorityIncrement { get; set; }
public string? WorkGroupCode { get; set; }
public bool? IsAutoComplete { get; set; }
public Guid? AcceptUserId { get; set; }
public string? AcceptUserName { get; set; }
public DateTime? AcceptTime { get; set; }
public Guid? CompleteUserId { get; set; }
public string? CompleteUserName { get; set; }
public DateTime? CompleteTime { get; set; }
public string? Description { get; set; }
public int? Type { get; set; }
public int? CountMethod { get; set; }
public int? CountCreateType { get; set; }
public int? CountDoingType { get; set; }
public List<CountJobDetail> Details { get; set; } = new();}

33
Code/Be/CreateEntityByDBTable/WinFormsApp1/WinFormsApp1/bin/Debug/net6.0-windows/cs_file/CountJobDetail.cs

@ -0,0 +1,33 @@
using System;
using System.Collections.Generic;
using Volo.Abp.Domain.Entities.Auditing;
public class CountJobDetail : AuditedAggregateRoot<Guid>
{
public string? CountLabel { get; set; }
public string? InventoryQty_Uom { get; set; }
public decimal? InventoryQty_Qty { get; set; }
public string? CountQty_Operator { get; set; }
public decimal? CountQty_Qty { get; set; }
public Guid? MasterID { get; set; }
public string? Number { get; set; }
public string? Remark { get; set; }
public Guid? Item_Id { get; set; }
public string? Item_Name { get; set; }
public string? Item_Desc1 { get; set; }
public string? Item_Desc2 { get; set; }
public string? ItemCode { get; set; }
public string? StdPack_PackUom { get; set; }
public decimal? StdPack_PackQty { get; set; }
public int? Status { get; set; }
public string? ContainerCode { get; set; }
public string? PackingCode { get; set; }
public string? Lot { get; set; }
public string? Batch_SupplierBatch { get; set; }
public DateTime? Batch_ProduceDate { get; set; }
public string? LocationCode { get; set; }
public string? WarehouseCode { get; set; }
public string? CountQty_Description { get; set; }
public DateTime? CountQty_Time { get; set; }
public DateTime? Batch_ExpireDate { get; set; }
}

29
Code/Be/CreateEntityByDBTable/WinFormsApp1/WinFormsApp1/bin/Debug/net6.0-windows/cs_file/DeliverJob.cs

@ -0,0 +1,29 @@
using System;
using System.Collections.Generic;
using Volo.Abp.Domain.Entities.Auditing;
public class DeliverJob : AuditedAggregateRoot<Guid>
{
public string? DeliverRequestNumber { get; set; }
public string? Customer { get; set; }
public string? Remark { get; set; }
public string? Company { get; set; }
public string? Worker { get; set; }
public string? WarehouseCode { get; set; }
public string? Number { get; set; }
public string? UpStreamJobNumber { get; set; }
public string? JobDescription { get; set; }
public int? JobType { get; set; }
public int? JobStatus { get; set; }
public int? Priority { get; set; }
public int? PriorityIncrement { get; set; }
public string? WorkGroupCode { get; set; }
public bool? IsAutoComplete { get; set; }
public Guid? AcceptUserId { get; set; }
public string? AcceptUserName { get; set; }
public DateTime? AcceptTime { get; set; }
public Guid? CompleteUserId { get; set; }
public string? CompleteUserName { get; set; }
public DateTime? CompleteTime { get; set; }
public string? CustomerAddressCode { get; set; }
public List<DeliverJobDetail> Details { get; set; } = new();}

50
Code/Be/CreateEntityByDBTable/WinFormsApp1/WinFormsApp1/bin/Debug/net6.0-windows/cs_file/DeliverJobDetail.cs

@ -0,0 +1,50 @@
using System;
using System.Collections.Generic;
using Volo.Abp.Domain.Entities.Auditing;
public class DeliverJobDetail : AuditedAggregateRoot<Guid>
{
public string? FromLocationCode { get; set; }
public DateTime? ExpiredTime { get; set; }
public Guid? MasterID { get; set; }
public string? Number { get; set; }
public string? Remark { get; set; }
public string? WarehouseCode { get; set; }
public Guid? Item_Id { get; set; }
public string? Item_Name { get; set; }
public string? Item_Desc1 { get; set; }
public string? Item_Desc2 { get; set; }
public string? ItemCode { get; set; }
public string? StdPack_PackUom { get; set; }
public decimal? StdPack_PackQty { get; set; }
public int? Status { get; set; }
public string? RecommendContainerCode { get; set; }
public string? RecommendPackingCode { get; set; }
public string? RecommendBatch_SupplierBatch { get; set; }
public DateTime? RecommendBatch_ProduceDate { get; set; }
public string? RecommendLot { get; set; }
public string? RecommendLocationCode { get; set; }
public string? RecommendQty_Uom { get; set; }
public decimal? RecommendQty_Qty { get; set; }
public string? HandledContainerCode { get; set; }
public string? HandledPackingCode { get; set; }
public string? HandledBatch_SupplierBatch { get; set; }
public DateTime? HandledBatch_ProduceDate { get; set; }
public string? HandledLot { get; set; }
public string? HandledLocationCode { get; set; }
public string? HandledQty_Uom { get; set; }
public decimal? HandledQty_Qty { get; set; }
public string? FromContainerCode { get; set; }
public string? FromLot { get; set; }
public string? FromPackingCode { get; set; }
public int? FromStatus { get; set; }
public string? FromWarehouseCode { get; set; }
public string? ToContainerCode { get; set; }
public string? ToLocationCode { get; set; }
public string? ToLot { get; set; }
public string? ToPackingCode { get; set; }
public int? ToStatus { get; set; }
public string? ToWarehouseCode { get; set; }
public DateTime? HandledBatch_ExpireDate { get; set; }
public DateTime? RecommendBatch_ExpireDate { get; set; }
}

34
Code/Be/CreateEntityByDBTable/WinFormsApp1/WinFormsApp1/bin/Debug/net6.0-windows/cs_file/InspectJob.cs

@ -0,0 +1,34 @@
using System;
using System.Collections.Generic;
using Volo.Abp.Domain.Entities.Auditing;
public class InspectJob : AuditedAggregateRoot<Guid>
{
public string? InspectNumber { get; set; }
public string? ReceiptNumber { get; set; }
public string? ArriveNoticeNumber { get; set; }
public string? AsnNumber { get; set; }
public string? RpNumber { get; set; }
public string? PoNumber { get; set; }
public string? SupplierCode { get; set; }
public int? NextAction { get; set; }
public string? Remark { get; set; }
public string? Company { get; set; }
public string? Worker { get; set; }
public string? WarehouseCode { get; set; }
public string? Number { get; set; }
public string? UpStreamJobNumber { get; set; }
public string? JobDescription { get; set; }
public int? JobType { get; set; }
public int? JobStatus { get; set; }
public int? Priority { get; set; }
public int? PriorityIncrement { get; set; }
public string? WorkGroupCode { get; set; }
public bool? IsAutoComplete { get; set; }
public Guid? AcceptUserId { get; set; }
public string? AcceptUserName { get; set; }
public DateTime? AcceptTime { get; set; }
public Guid? CompleteUserId { get; set; }
public string? CompleteUserName { get; set; }
public DateTime? CompleteTime { get; set; }
public List<InspectJobDetail> Details { get; set; } = new();}

52
Code/Be/CreateEntityByDBTable/WinFormsApp1/WinFormsApp1/bin/Debug/net6.0-windows/cs_file/InspectJobDetail.cs

@ -0,0 +1,52 @@
using System;
using System.Collections.Generic;
using Volo.Abp.Domain.Entities.Auditing;
public class InspectJobDetail : AuditedAggregateRoot<Guid>
{
public string? PoNumber { get; set; }
public string? PoLine { get; set; }
public int? InspectType { get; set; }
public decimal? SamplePercent { get; set; }
public string? ReceiveQty_Uom { get; set; }
public decimal? ReceiveQty_Qty { get; set; }
public decimal? InspectQty { get; set; }
public decimal? GoodQty { get; set; }
public string? FailedReason { get; set; }
public decimal? FailedQty { get; set; }
public decimal? CrackQty { get; set; }
public string? InspectUser_Name { get; set; }
public string? InspectUser_Phone { get; set; }
public string? InspectUser_Email { get; set; }
public decimal? NotPassedQty { get; set; }
public Guid? MasterID { get; set; }
public string? Number { get; set; }
public string? Remark { get; set; }
public string? WarehouseCode { get; set; }
public Guid? Item_Id { get; set; }
public string? Item_Name { get; set; }
public string? Item_Desc1 { get; set; }
public string? Item_Desc2 { get; set; }
public string? ItemCode { get; set; }
public string? StdPack_PackUom { get; set; }
public decimal? StdPack_PackQty { get; set; }
public int? Status { get; set; }
public string? RecommendContainerCode { get; set; }
public string? RecommendPackingCode { get; set; }
public string? RecommendBatch_SupplierBatch { get; set; }
public DateTime? RecommendBatch_ProduceDate { get; set; }
public string? RecommendLot { get; set; }
public string? RecommendLocationCode { get; set; }
public string? RecommendQty_Uom { get; set; }
public decimal? RecommendQty_Qty { get; set; }
public string? HandledContainerCode { get; set; }
public string? HandledPackingCode { get; set; }
public string? HandledBatch_SupplierBatch { get; set; }
public DateTime? HandledBatch_ProduceDate { get; set; }
public string? HandledLot { get; set; }
public string? HandledLocationCode { get; set; }
public string? HandledQty_Uom { get; set; }
public decimal? HandledQty_Qty { get; set; }
public DateTime? HandledBatch_ExpireDate { get; set; }
public DateTime? RecommendBatch_ExpireDate { get; set; }
}

52
Code/Be/CreateEntityByDBTable/WinFormsApp1/WinFormsApp1/bin/Debug/net6.0-windows/cs_file/InspectJobSummaryDetail.cs

@ -0,0 +1,52 @@
using System;
using System.Collections.Generic;
using Volo.Abp.Domain.Entities.Auditing;
public class InspectJobSummaryDetail : AuditedAggregateRoot<Guid>
{
public string? PoNumber { get; set; }
public string? PoLine { get; set; }
public int? InspectType { get; set; }
public decimal? SamplePercent { get; set; }
public string? ReceiveQty_Uom { get; set; }
public decimal? ReceiveQty_Qty { get; set; }
public decimal? InspectQty { get; set; }
public decimal? GoodQty { get; set; }
public string? FailedReason { get; set; }
public decimal? FailedQty { get; set; }
public decimal? CrackQty { get; set; }
public string? InspectUser_Name { get; set; }
public string? InspectUser_Phone { get; set; }
public string? InspectUser_Email { get; set; }
public decimal? NotPassedQty { get; set; }
public Guid? MasterID { get; set; }
public string? Number { get; set; }
public string? Remark { get; set; }
public string? WarehouseCode { get; set; }
public Guid? Item_Id { get; set; }
public string? Item_Name { get; set; }
public string? Item_Desc1 { get; set; }
public string? Item_Desc2 { get; set; }
public string? ItemCode { get; set; }
public string? StdPack_PackUom { get; set; }
public decimal? StdPack_PackQty { get; set; }
public int? Status { get; set; }
public string? RecommendContainerCode { get; set; }
public string? RecommendPackingCode { get; set; }
public string? RecommendBatch_SupplierBatch { get; set; }
public DateTime? RecommendBatch_ProduceDate { get; set; }
public string? RecommendLot { get; set; }
public string? RecommendLocationCode { get; set; }
public string? RecommendQty_Uom { get; set; }
public decimal? RecommendQty_Qty { get; set; }
public string? HandledContainerCode { get; set; }
public string? HandledPackingCode { get; set; }
public string? HandledBatch_SupplierBatch { get; set; }
public DateTime? HandledBatch_ProduceDate { get; set; }
public string? HandledLot { get; set; }
public string? HandledLocationCode { get; set; }
public string? HandledQty_Uom { get; set; }
public decimal? HandledQty_Qty { get; set; }
public DateTime? HandledBatch_ExpireDate { get; set; }
public DateTime? RecommendBatch_ExpireDate { get; set; }
}

29
Code/Be/CreateEntityByDBTable/WinFormsApp1/WinFormsApp1/bin/Debug/net6.0-windows/cs_file/IssueJob.cs

@ -0,0 +1,29 @@
using System;
using System.Collections.Generic;
using Volo.Abp.Domain.Entities.Auditing;
public class IssueJob : AuditedAggregateRoot<Guid>
{
public string? ProdLine { get; set; }
public string? MaterialRequestNumber { get; set; }
public string? Workshop { get; set; }
public string? Remark { get; set; }
public string? Company { get; set; }
public string? Worker { get; set; }
public string? WarehouseCode { get; set; }
public string? Number { get; set; }
public string? UpStreamJobNumber { get; set; }
public string? JobDescription { get; set; }
public int? JobType { get; set; }
public int? JobStatus { get; set; }
public int? Priority { get; set; }
public int? PriorityIncrement { get; set; }
public string? WorkGroupCode { get; set; }
public bool? IsAutoComplete { get; set; }
public Guid? AcceptUserId { get; set; }
public string? AcceptUserName { get; set; }
public DateTime? AcceptTime { get; set; }
public Guid? CompleteUserId { get; set; }
public string? CompleteUserName { get; set; }
public DateTime? CompleteTime { get; set; }
public List<IssueJobDetail> Details { get; set; } = new();}

50
Code/Be/CreateEntityByDBTable/WinFormsApp1/WinFormsApp1/bin/Debug/net6.0-windows/cs_file/IssueJobDetail.cs

@ -0,0 +1,50 @@
using System;
using System.Collections.Generic;
using Volo.Abp.Domain.Entities.Auditing;
public class IssueJobDetail : AuditedAggregateRoot<Guid>
{
public string? ToRequestLocationCode { get; set; }
public string? ToLocationCode { get; set; }
public string? ProdLine { get; set; }
public string? WorkStation { get; set; }
public DateTime? ExpiredTime { get; set; }
public string? Operation { get; set; }
public int? DistributionType { get; set; }
public int? TruncType { get; set; }
public decimal? RoundedQty { get; set; }
public int? PlannedSplitRule { get; set; }
public DateTime? PlanBeginTime { get; set; }
public decimal? DeliveryQty { get; set; }
public Guid? MasterID { get; set; }
public string? Number { get; set; }
public string? Remark { get; set; }
public string? WarehouseCode { get; set; }
public Guid? Item_Id { get; set; }
public string? Item_Name { get; set; }
public string? Item_Desc1 { get; set; }
public string? Item_Desc2 { get; set; }
public string? ItemCode { get; set; }
public string? StdPack_PackUom { get; set; }
public decimal? StdPack_PackQty { get; set; }
public int? Status { get; set; }
public string? RecommendContainerCode { get; set; }
public string? RecommendPackingCode { get; set; }
public string? RecommendBatch_SupplierBatch { get; set; }
public DateTime? RecommendBatch_ProduceDate { get; set; }
public string? RecommendLot { get; set; }
public string? RecommendLocationCode { get; set; }
public string? RecommendQty_Uom { get; set; }
public decimal? RecommendQty_Qty { get; set; }
public string? HandledContainerCode { get; set; }
public string? HandledPackingCode { get; set; }
public string? HandledBatch_SupplierBatch { get; set; }
public DateTime? HandledBatch_ProduceDate { get; set; }
public string? HandledLot { get; set; }
public string? HandledLocationCode { get; set; }
public string? HandledQty_Uom { get; set; }
public decimal? HandledQty_Qty { get; set; }
public DateTime? HandledBatch_ExpireDate { get; set; }
public DateTime? RecommendBatch_ExpireDate { get; set; }
public string? FromRequestLocationCode { get; set; }
}

35
Code/Be/CreateEntityByDBTable/WinFormsApp1/WinFormsApp1/bin/Debug/net6.0-windows/cs_file/JisDeliverJob.cs

@ -0,0 +1,35 @@
using System;
using System.Collections.Generic;
using Volo.Abp.Domain.Entities.Auditing;
public class JisDeliverJob : AuditedAggregateRoot<Guid>
{
public string? Customer { get; set; }
public string? CustomerAddressCode { get; set; }
public string? CustomerLocationCode { get; set; }
public string? CustomerWarehouseCode { get; set; }
public string? ProjectCode { get; set; }
public DateTime? PlanTime { get; set; }
public decimal? ContainerQty { get; set; }
public decimal? ItemQty { get; set; }
public string? Remark { get; set; }
public string? Company { get; set; }
public string? Worker { get; set; }
public string? WarehouseCode { get; set; }
public string? Number { get; set; }
public string? UpStreamJobNumber { get; set; }
public string? JobDescription { get; set; }
public int? JobType { get; set; }
public int? JobStatus { get; set; }
public int? Priority { get; set; }
public int? PriorityIncrement { get; set; }
public string? WorkGroupCode { get; set; }
public bool? IsAutoComplete { get; set; }
public Guid? AcceptUserId { get; set; }
public string? AcceptUserName { get; set; }
public DateTime? AcceptTime { get; set; }
public Guid? CompleteUserId { get; set; }
public string? CompleteUserName { get; set; }
public DateTime? CompleteTime { get; set; }
public string? Position { get; set; }
public List<JisDeliverJobDetail> Details { get; set; } = new();}

17
Code/Be/CreateEntityByDBTable/WinFormsApp1/WinFormsApp1/bin/Debug/net6.0-windows/cs_file/JisDeliverJobDetail.cs

@ -0,0 +1,17 @@
using System;
using System.Collections.Generic;
using Volo.Abp.Domain.Entities.Auditing;
public class JisDeliverJobDetail : AuditedAggregateRoot<Guid>
{
public string? ContainerCode { get; set; }
public string? ContainerName { get; set; }
public string? ContainerDesc { get; set; }
public decimal? ItemQty { get; set; }
public string? FromLocationCode { get; set; }
public string? ToLocationCode { get; set; }
public int? Status { get; set; }
public Guid? MasterID { get; set; }
public string? Number { get; set; }
public string? Remark { get; set; }
}

29
Code/Be/CreateEntityByDBTable/WinFormsApp1/WinFormsApp1/bin/Debug/net6.0-windows/cs_file/ProductReceiveJob.cs

@ -0,0 +1,29 @@
using System;
using System.Collections.Generic;
using Volo.Abp.Domain.Entities.Auditing;
public class ProductReceiveJob : AuditedAggregateRoot<Guid>
{
public string? ProductionPlanNumber { get; set; }
public string? Workshop { get; set; }
public string? Shift { get; set; }
public string? Remark { get; set; }
public string? Company { get; set; }
public string? Worker { get; set; }
public string? WarehouseCode { get; set; }
public string? Number { get; set; }
public string? UpStreamJobNumber { get; set; }
public string? JobDescription { get; set; }
public int? JobType { get; set; }
public int? JobStatus { get; set; }
public int? Priority { get; set; }
public int? PriorityIncrement { get; set; }
public string? WorkGroupCode { get; set; }
public bool? IsAutoComplete { get; set; }
public Guid? AcceptUserId { get; set; }
public string? AcceptUserName { get; set; }
public DateTime? AcceptTime { get; set; }
public Guid? CompleteUserId { get; set; }
public string? CompleteUserName { get; set; }
public DateTime? CompleteTime { get; set; }
public List<ProductReceiveJobDetail> Details { get; set; } = new();}

39
Code/Be/CreateEntityByDBTable/WinFormsApp1/WinFormsApp1/bin/Debug/net6.0-windows/cs_file/ProductReceiveJobDetail.cs

@ -0,0 +1,39 @@
using System;
using System.Collections.Generic;
using Volo.Abp.Domain.Entities.Auditing;
public class ProductReceiveJobDetail : AuditedAggregateRoot<Guid>
{
public string? ProdLine { get; set; }
public string? RawLocation { get; set; }
public Guid? MasterID { get; set; }
public string? Number { get; set; }
public string? Remark { get; set; }
public string? WarehouseCode { get; set; }
public Guid? Item_Id { get; set; }
public string? Item_Name { get; set; }
public string? Item_Desc1 { get; set; }
public string? Item_Desc2 { get; set; }
public string? ItemCode { get; set; }
public string? StdPack_PackUom { get; set; }
public decimal? StdPack_PackQty { get; set; }
public int? Status { get; set; }
public string? RecommendContainerCode { get; set; }
public string? RecommendPackingCode { get; set; }
public string? RecommendBatch_SupplierBatch { get; set; }
public DateTime? RecommendBatch_ProduceDate { get; set; }
public string? RecommendLot { get; set; }
public string? RecommendLocationCode { get; set; }
public string? RecommendQty_Uom { get; set; }
public decimal? RecommendQty_Qty { get; set; }
public string? HandledContainerCode { get; set; }
public string? HandledPackingCode { get; set; }
public string? HandledBatch_SupplierBatch { get; set; }
public DateTime? HandledBatch_ProduceDate { get; set; }
public string? HandledLot { get; set; }
public string? HandledLocationCode { get; set; }
public string? HandledQty_Uom { get; set; }
public decimal? HandledQty_Qty { get; set; }
public DateTime? HandledBatch_ExpireDate { get; set; }
public DateTime? RecommendBatch_ExpireDate { get; set; }
}

35
Code/Be/CreateEntityByDBTable/WinFormsApp1/WinFormsApp1/bin/Debug/net6.0-windows/cs_file/PurchaseReceiptJob.cs

@ -0,0 +1,35 @@
using System;
using System.Collections.Generic;
using Volo.Abp.Domain.Entities.Auditing;
public class PurchaseReceiptJob : AuditedAggregateRoot<Guid>
{
public string? ArriveNoticeNumber { get; set; }
public string? AsnNumber { get; set; }
public string? RpNumber { get; set; }
public string? PoNumber { get; set; }
public string? SupplierCode { get; set; }
public string? SupplierName { get; set; }
public int? Type { get; set; }
public string? TimeWindow { get; set; }
public string? Remark { get; set; }
public string? Company { get; set; }
public string? Worker { get; set; }
public string? WarehouseCode { get; set; }
public string? Number { get; set; }
public string? UpStreamJobNumber { get; set; }
public string? JobDescription { get; set; }
public int? JobType { get; set; }
public int? JobStatus { get; set; }
public int? Priority { get; set; }
public int? PriorityIncrement { get; set; }
public string? WorkGroupCode { get; set; }
public bool? IsAutoComplete { get; set; }
public Guid? AcceptUserId { get; set; }
public string? AcceptUserName { get; set; }
public DateTime? AcceptTime { get; set; }
public Guid? CompleteUserId { get; set; }
public string? CompleteUserName { get; set; }
public DateTime? CompleteTime { get; set; }
public DateTime? ArriveTime { get; set; }
public List<PurchaseReceiptJobDetail> Details { get; set; } = new();}

41
Code/Be/CreateEntityByDBTable/WinFormsApp1/WinFormsApp1/bin/Debug/net6.0-windows/cs_file/PurchaseReceiptJobDetail.cs

@ -0,0 +1,41 @@
using System;
using System.Collections.Generic;
using Volo.Abp.Domain.Entities.Auditing;
public class PurchaseReceiptJobDetail : AuditedAggregateRoot<Guid>
{
public string? PoNumber { get; set; }
public string? PoLine { get; set; }
public Guid? MasterID { get; set; }
public string? Number { get; set; }
public string? Remark { get; set; }
public string? WarehouseCode { get; set; }
public Guid? Item_Id { get; set; }
public string? Item_Name { get; set; }
public string? Item_Desc1 { get; set; }
public string? Item_Desc2 { get; set; }
public string? ItemCode { get; set; }
public string? StdPack_PackUom { get; set; }
public decimal? StdPack_PackQty { get; set; }
public int? Status { get; set; }
public string? RecommendContainerCode { get; set; }
public string? RecommendPackingCode { get; set; }
public string? RecommendBatch_SupplierBatch { get; set; }
public DateTime? RecommendBatch_ProduceDate { get; set; }
public string? RecommendLot { get; set; }
public string? RecommendLocationCode { get; set; }
public string? RecommendQty_Uom { get; set; }
public decimal? RecommendQty_Qty { get; set; }
public string? HandledContainerCode { get; set; }
public string? HandledPackingCode { get; set; }
public string? HandledBatch_SupplierBatch { get; set; }
public DateTime? HandledBatch_ProduceDate { get; set; }
public string? HandledLot { get; set; }
public string? HandledLocationCode { get; set; }
public string? HandledQty_Uom { get; set; }
public decimal? HandledQty_Qty { get; set; }
public DateTime? HandledBatch_ExpireDate { get; set; }
public DateTime? RecommendBatch_ExpireDate { get; set; }
public string? ItemEqLevel { get; set; }
public string? LabelEqLevel { get; set; }
}

31
Code/Be/CreateEntityByDBTable/WinFormsApp1/WinFormsApp1/bin/Debug/net6.0-windows/cs_file/PurchaseReturnJob.cs

@ -0,0 +1,31 @@
using System;
using System.Collections.Generic;
using Volo.Abp.Domain.Entities.Auditing;
public class PurchaseReturnJob : AuditedAggregateRoot<Guid>
{
public string? ArriveNoticeNumber { get; set; }
public string? PurchaseReceiptNumber { get; set; }
public string? AsnNumber { get; set; }
public string? PoNumber { get; set; }
public string? SupplierCode { get; set; }
public string? Remark { get; set; }
public string? Company { get; set; }
public string? Worker { get; set; }
public string? WarehouseCode { get; set; }
public string? Number { get; set; }
public string? UpStreamJobNumber { get; set; }
public string? JobDescription { get; set; }
public int? JobType { get; set; }
public int? JobStatus { get; set; }
public int? Priority { get; set; }
public int? PriorityIncrement { get; set; }
public string? WorkGroupCode { get; set; }
public bool? IsAutoComplete { get; set; }
public Guid? AcceptUserId { get; set; }
public string? AcceptUserName { get; set; }
public DateTime? AcceptTime { get; set; }
public Guid? CompleteUserId { get; set; }
public string? CompleteUserName { get; set; }
public DateTime? CompleteTime { get; set; }
public List<PurchaseReturnJobDetail> Details { get; set; } = new();}

39
Code/Be/CreateEntityByDBTable/WinFormsApp1/WinFormsApp1/bin/Debug/net6.0-windows/cs_file/PurchaseReturnJobDetail.cs

@ -0,0 +1,39 @@
using System;
using System.Collections.Generic;
using Volo.Abp.Domain.Entities.Auditing;
public class PurchaseReturnJobDetail : AuditedAggregateRoot<Guid>
{
public string? PoNumber { get; set; }
public string? PoLine { get; set; }
public Guid? MasterID { get; set; }
public string? Number { get; set; }
public string? Remark { get; set; }
public string? WarehouseCode { get; set; }
public Guid? Item_Id { get; set; }
public string? Item_Name { get; set; }
public string? Item_Desc1 { get; set; }
public string? Item_Desc2 { get; set; }
public string? ItemCode { get; set; }
public string? StdPack_PackUom { get; set; }
public decimal? StdPack_PackQty { get; set; }
public int? Status { get; set; }
public string? RecommendContainerCode { get; set; }
public string? RecommendPackingCode { get; set; }
public string? RecommendBatch_SupplierBatch { get; set; }
public DateTime? RecommendBatch_ProduceDate { get; set; }
public string? RecommendLot { get; set; }
public string? RecommendLocationCode { get; set; }
public string? RecommendQty_Uom { get; set; }
public decimal? RecommendQty_Qty { get; set; }
public string? HandledContainerCode { get; set; }
public string? HandledPackingCode { get; set; }
public string? HandledBatch_SupplierBatch { get; set; }
public DateTime? HandledBatch_ProduceDate { get; set; }
public string? HandledLot { get; set; }
public string? HandledLocationCode { get; set; }
public string? HandledQty_Uom { get; set; }
public decimal? HandledQty_Qty { get; set; }
public DateTime? HandledBatch_ExpireDate { get; set; }
public DateTime? RecommendBatch_ExpireDate { get; set; }
}

35
Code/Be/CreateEntityByDBTable/WinFormsApp1/WinFormsApp1/bin/Debug/net6.0-windows/cs_file/PutawayJob.cs

@ -0,0 +1,35 @@
using System;
using System.Collections.Generic;
using Volo.Abp.Domain.Entities.Auditing;
public class PutawayJob : AuditedAggregateRoot<Guid>
{
public string? SupplierCode { get; set; }
public string? InspectNumber { get; set; }
public string? ReceiptNumber { get; set; }
public string? ArriveNoticeNumber { get; set; }
public string? AsnNumber { get; set; }
public string? RpNumber { get; set; }
public string? PoNumber { get; set; }
public string? ProductReceiptNumber { get; set; }
public string? Remark { get; set; }
public string? Company { get; set; }
public string? Worker { get; set; }
public string? WarehouseCode { get; set; }
public string? Number { get; set; }
public string? UpStreamJobNumber { get; set; }
public string? JobDescription { get; set; }
public int? JobType { get; set; }
public int? JobStatus { get; set; }
public int? Priority { get; set; }
public int? PriorityIncrement { get; set; }
public string? WorkGroupCode { get; set; }
public bool? IsAutoComplete { get; set; }
public Guid? AcceptUserId { get; set; }
public string? AcceptUserName { get; set; }
public DateTime? AcceptTime { get; set; }
public Guid? CompleteUserId { get; set; }
public string? CompleteUserName { get; set; }
public DateTime? CompleteTime { get; set; }
public int? PutawayJobType { get; set; }
public List<PutawayJobDetail> Details { get; set; } = new();}

40
Code/Be/CreateEntityByDBTable/WinFormsApp1/WinFormsApp1/bin/Debug/net6.0-windows/cs_file/PutawayJobDetail.cs

@ -0,0 +1,40 @@
using System;
using System.Collections.Generic;
using Volo.Abp.Domain.Entities.Auditing;
public class PutawayJobDetail : AuditedAggregateRoot<Guid>
{
public string? PoNumber { get; set; }
public string? PoLine { get; set; }
public string? FromLocationCode { get; set; }
public Guid? MasterID { get; set; }
public string? Number { get; set; }
public string? Remark { get; set; }
public string? WarehouseCode { get; set; }
public Guid? Item_Id { get; set; }
public string? Item_Name { get; set; }
public string? Item_Desc1 { get; set; }
public string? Item_Desc2 { get; set; }
public string? ItemCode { get; set; }
public string? StdPack_PackUom { get; set; }
public decimal? StdPack_PackQty { get; set; }
public int? Status { get; set; }
public string? RecommendContainerCode { get; set; }
public string? RecommendPackingCode { get; set; }
public string? RecommendBatch_SupplierBatch { get; set; }
public DateTime? RecommendBatch_ProduceDate { get; set; }
public string? RecommendLot { get; set; }
public string? RecommendLocationCode { get; set; }
public string? RecommendQty_Uom { get; set; }
public decimal? RecommendQty_Qty { get; set; }
public string? HandledContainerCode { get; set; }
public string? HandledPackingCode { get; set; }
public string? HandledBatch_SupplierBatch { get; set; }
public DateTime? HandledBatch_ProduceDate { get; set; }
public string? HandledLot { get; set; }
public string? HandledLocationCode { get; set; }
public string? HandledQty_Uom { get; set; }
public decimal? HandledQty_Qty { get; set; }
public DateTime? HandledBatch_ExpireDate { get; set; }
public DateTime? RecommendBatch_ExpireDate { get; set; }
}

9
Code/Be/CreateEntityByDBTable/WinFormsApp1/WinFormsApp1/bin/Debug/net6.0-windows/cs_file/__EFMigrationsHistory.cs

@ -0,0 +1,9 @@
using System;
using System.Collections.Generic;
using Volo.Abp.Domain.Entities.Auditing;
public class __EFMigrationsHistory : AuditedAggregateRoot<Guid>
{
public string? MigrationId { get; set; }
public string? ProductVersion { get; set; }
public List<__EFMigrationsHistoryDetail> Details { get; set; } = new();}

BIN
Code/Be/CreateEntityByDBTable/WinFormsApp1/WinFormsApp1/bin/Debug/net6.0-windows/runtimes/unix/lib/netcoreapp2.1/System.Data.SqlClient.dll

Binary file not shown.

BIN
Code/Be/CreateEntityByDBTable/WinFormsApp1/WinFormsApp1/bin/Debug/net6.0-windows/runtimes/win-arm64/native/sni.dll

Binary file not shown.

BIN
Code/Be/CreateEntityByDBTable/WinFormsApp1/WinFormsApp1/bin/Debug/net6.0-windows/runtimes/win-x64/native/sni.dll

Binary file not shown.

BIN
Code/Be/CreateEntityByDBTable/WinFormsApp1/WinFormsApp1/bin/Debug/net6.0-windows/runtimes/win-x86/native/sni.dll

Binary file not shown.

BIN
Code/Be/CreateEntityByDBTable/WinFormsApp1/WinFormsApp1/bin/Debug/net6.0-windows/runtimes/win/lib/netcoreapp2.1/System.Data.SqlClient.dll

Binary file not shown.

4
Code/Be/CreateEntityByDBTable/WinFormsApp1/WinFormsApp1/obj/Debug/net6.0-windows/.NETCoreApp,Version=v6.0.AssemblyAttributes.cs

@ -0,0 +1,4 @@
// <autogenerated />
using System;
using System.Reflection;
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v6.0", FrameworkDisplayName = ".NET 6.0")]

25
Code/Be/CreateEntityByDBTable/WinFormsApp1/WinFormsApp1/obj/Debug/net6.0-windows/WinFormsApp1.AssemblyInfo.cs

@ -0,0 +1,25 @@
//------------------------------------------------------------------------------
// <auto-generated>
// 此代码由工具生成。
// 运行时版本:4.0.30319.42000
//
// 对此文件的更改可能会导致不正确的行为,并且如果
// 重新生成代码,这些更改将会丢失。
// </auto-generated>
//------------------------------------------------------------------------------
using System;
using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("WinFormsApp1")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
[assembly: System.Reflection.AssemblyProductAttribute("WinFormsApp1")]
[assembly: System.Reflection.AssemblyTitleAttribute("WinFormsApp1")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
[assembly: System.Runtime.Versioning.TargetPlatformAttribute("Windows7.0")]
[assembly: System.Runtime.Versioning.SupportedOSPlatformAttribute("Windows7.0")]
// 由 MSBuild WriteCodeFragment 类生成。

1
Code/Be/CreateEntityByDBTable/WinFormsApp1/WinFormsApp1/obj/Debug/net6.0-windows/WinFormsApp1.AssemblyInfoInputs.cache

@ -0,0 +1 @@
d77c1e181078950104e447609764b620d3b0b9c8

BIN
Code/Be/CreateEntityByDBTable/WinFormsApp1/WinFormsApp1/obj/Debug/net6.0-windows/WinFormsApp1.Form1.resources

Binary file not shown.

17
Code/Be/CreateEntityByDBTable/WinFormsApp1/WinFormsApp1/obj/Debug/net6.0-windows/WinFormsApp1.GeneratedMSBuildEditorConfig.editorconfig

@ -0,0 +1,17 @@
is_global = true
build_property.ApplicationManifest =
build_property.StartupObject =
build_property.ApplicationDefaultFont =
build_property.ApplicationHighDpiMode =
build_property.ApplicationUseCompatibleTextRendering =
build_property.ApplicationVisualStyles =
build_property.TargetFramework = net6.0-windows
build_property.TargetPlatformMinVersion = 7.0
build_property.UsingMicrosoftNETSdkWeb =
build_property.ProjectTypeGuids =
build_property.InvariantGlobalization =
build_property.PlatformNeutralAssembly =
build_property.EnforceExtendedAnalyzerRules =
build_property._SupportedPlatformList = Linux,macOS,Windows
build_property.RootNamespace = WinFormsApp1
build_property.ProjectDir = E:\Code\Faster.Zheng.Winin\Code\Be\CreateEntityByDBTable\WinFormsApp1\WinFormsApp1\

10
Code/Be/CreateEntityByDBTable/WinFormsApp1/WinFormsApp1/obj/Debug/net6.0-windows/WinFormsApp1.GlobalUsings.g.cs

@ -0,0 +1,10 @@
// <auto-generated/>
global using global::System;
global using global::System.Collections.Generic;
global using global::System.Drawing;
global using global::System.IO;
global using global::System.Linq;
global using global::System.Net.Http;
global using global::System.Threading;
global using global::System.Threading.Tasks;
global using global::System.Windows.Forms;

BIN
Code/Be/CreateEntityByDBTable/WinFormsApp1/WinFormsApp1/obj/Debug/net6.0-windows/WinFormsApp1.assets.cache

Binary file not shown.

BIN
Code/Be/CreateEntityByDBTable/WinFormsApp1/WinFormsApp1/obj/Debug/net6.0-windows/WinFormsApp1.csproj.AssemblyReference.cache

Binary file not shown.

0
Code/Be/CreateEntityByDBTable/WinFormsApp1/WinFormsApp1/obj/Debug/net6.0-windows/WinFormsApp1.csproj.BuildWithSkipAnalyzers

0
Code/Be/CreateEntityByDBTable/WinFormsApp1/WinFormsApp1/obj/Debug/net6.0-windows/WinFormsApp1.csproj.CopyComplete

1
Code/Be/CreateEntityByDBTable/WinFormsApp1/WinFormsApp1/obj/Debug/net6.0-windows/WinFormsApp1.csproj.CoreCompileInputs.cache

@ -0,0 +1 @@
71c1e90059d331f9aafd05285a33bba1702ca886

48
Code/Be/CreateEntityByDBTable/WinFormsApp1/WinFormsApp1/obj/Debug/net6.0-windows/WinFormsApp1.csproj.FileListAbsolute.txt

@ -0,0 +1,48 @@
C:\Users\Administrator\Desktop\新建文件夹\WinFormsApp1\WinFormsApp1\bin\Debug\net6.0-windows\WinFormsApp1.exe
C:\Users\Administrator\Desktop\新建文件夹\WinFormsApp1\WinFormsApp1\bin\Debug\net6.0-windows\WinFormsApp1.deps.json
C:\Users\Administrator\Desktop\新建文件夹\WinFormsApp1\WinFormsApp1\bin\Debug\net6.0-windows\WinFormsApp1.runtimeconfig.json
C:\Users\Administrator\Desktop\新建文件夹\WinFormsApp1\WinFormsApp1\bin\Debug\net6.0-windows\WinFormsApp1.dll
C:\Users\Administrator\Desktop\新建文件夹\WinFormsApp1\WinFormsApp1\bin\Debug\net6.0-windows\WinFormsApp1.pdb
C:\Users\Administrator\Desktop\新建文件夹\WinFormsApp1\WinFormsApp1\bin\Debug\net6.0-windows\System.Data.SqlClient.dll
C:\Users\Administrator\Desktop\新建文件夹\WinFormsApp1\WinFormsApp1\bin\Debug\net6.0-windows\runtimes\win-arm64\native\sni.dll
C:\Users\Administrator\Desktop\新建文件夹\WinFormsApp1\WinFormsApp1\bin\Debug\net6.0-windows\runtimes\win-x64\native\sni.dll
C:\Users\Administrator\Desktop\新建文件夹\WinFormsApp1\WinFormsApp1\bin\Debug\net6.0-windows\runtimes\win-x86\native\sni.dll
C:\Users\Administrator\Desktop\新建文件夹\WinFormsApp1\WinFormsApp1\bin\Debug\net6.0-windows\runtimes\unix\lib\netcoreapp2.1\System.Data.SqlClient.dll
C:\Users\Administrator\Desktop\新建文件夹\WinFormsApp1\WinFormsApp1\bin\Debug\net6.0-windows\runtimes\win\lib\netcoreapp2.1\System.Data.SqlClient.dll
C:\Users\Administrator\Desktop\新建文件夹\WinFormsApp1\WinFormsApp1\obj\Debug\net6.0-windows\WinFormsApp1.csproj.AssemblyReference.cache
C:\Users\Administrator\Desktop\新建文件夹\WinFormsApp1\WinFormsApp1\obj\Debug\net6.0-windows\WinFormsApp1.Form1.resources
C:\Users\Administrator\Desktop\新建文件夹\WinFormsApp1\WinFormsApp1\obj\Debug\net6.0-windows\WinFormsApp1.csproj.GenerateResource.cache
C:\Users\Administrator\Desktop\新建文件夹\WinFormsApp1\WinFormsApp1\obj\Debug\net6.0-windows\WinFormsApp1.GeneratedMSBuildEditorConfig.editorconfig
C:\Users\Administrator\Desktop\新建文件夹\WinFormsApp1\WinFormsApp1\obj\Debug\net6.0-windows\WinFormsApp1.AssemblyInfoInputs.cache
C:\Users\Administrator\Desktop\新建文件夹\WinFormsApp1\WinFormsApp1\obj\Debug\net6.0-windows\WinFormsApp1.AssemblyInfo.cs
C:\Users\Administrator\Desktop\新建文件夹\WinFormsApp1\WinFormsApp1\obj\Debug\net6.0-windows\WinFormsApp1.csproj.CoreCompileInputs.cache
C:\Users\Administrator\Desktop\新建文件夹\WinFormsApp1\WinFormsApp1\obj\Debug\net6.0-windows\WinFormsApp1.csproj.CopyComplete
C:\Users\Administrator\Desktop\新建文件夹\WinFormsApp1\WinFormsApp1\obj\Debug\net6.0-windows\WinFormsApp1.dll
C:\Users\Administrator\Desktop\新建文件夹\WinFormsApp1\WinFormsApp1\obj\Debug\net6.0-windows\refint\WinFormsApp1.dll
C:\Users\Administrator\Desktop\新建文件夹\WinFormsApp1\WinFormsApp1\obj\Debug\net6.0-windows\WinFormsApp1.pdb
C:\Users\Administrator\Desktop\新建文件夹\WinFormsApp1\WinFormsApp1\obj\Debug\net6.0-windows\WinFormsApp1.genruntimeconfig.cache
C:\Users\Administrator\Desktop\新建文件夹\WinFormsApp1\WinFormsApp1\obj\Debug\net6.0-windows\ref\WinFormsApp1.dll
E:\Code\Faster.Zheng.Winin\Code\Be\CreateEntityByDBTable\WinFormsApp1\WinFormsApp1\bin\Debug\net6.0-windows\WinFormsApp1.exe
E:\Code\Faster.Zheng.Winin\Code\Be\CreateEntityByDBTable\WinFormsApp1\WinFormsApp1\bin\Debug\net6.0-windows\WinFormsApp1.deps.json
E:\Code\Faster.Zheng.Winin\Code\Be\CreateEntityByDBTable\WinFormsApp1\WinFormsApp1\bin\Debug\net6.0-windows\WinFormsApp1.runtimeconfig.json
E:\Code\Faster.Zheng.Winin\Code\Be\CreateEntityByDBTable\WinFormsApp1\WinFormsApp1\bin\Debug\net6.0-windows\WinFormsApp1.dll
E:\Code\Faster.Zheng.Winin\Code\Be\CreateEntityByDBTable\WinFormsApp1\WinFormsApp1\bin\Debug\net6.0-windows\WinFormsApp1.pdb
E:\Code\Faster.Zheng.Winin\Code\Be\CreateEntityByDBTable\WinFormsApp1\WinFormsApp1\bin\Debug\net6.0-windows\System.Data.SqlClient.dll
E:\Code\Faster.Zheng.Winin\Code\Be\CreateEntityByDBTable\WinFormsApp1\WinFormsApp1\bin\Debug\net6.0-windows\runtimes\win-arm64\native\sni.dll
E:\Code\Faster.Zheng.Winin\Code\Be\CreateEntityByDBTable\WinFormsApp1\WinFormsApp1\bin\Debug\net6.0-windows\runtimes\win-x64\native\sni.dll
E:\Code\Faster.Zheng.Winin\Code\Be\CreateEntityByDBTable\WinFormsApp1\WinFormsApp1\bin\Debug\net6.0-windows\runtimes\win-x86\native\sni.dll
E:\Code\Faster.Zheng.Winin\Code\Be\CreateEntityByDBTable\WinFormsApp1\WinFormsApp1\bin\Debug\net6.0-windows\runtimes\unix\lib\netcoreapp2.1\System.Data.SqlClient.dll
E:\Code\Faster.Zheng.Winin\Code\Be\CreateEntityByDBTable\WinFormsApp1\WinFormsApp1\bin\Debug\net6.0-windows\runtimes\win\lib\netcoreapp2.1\System.Data.SqlClient.dll
E:\Code\Faster.Zheng.Winin\Code\Be\CreateEntityByDBTable\WinFormsApp1\WinFormsApp1\obj\Debug\net6.0-windows\WinFormsApp1.csproj.AssemblyReference.cache
E:\Code\Faster.Zheng.Winin\Code\Be\CreateEntityByDBTable\WinFormsApp1\WinFormsApp1\obj\Debug\net6.0-windows\WinFormsApp1.Form1.resources
E:\Code\Faster.Zheng.Winin\Code\Be\CreateEntityByDBTable\WinFormsApp1\WinFormsApp1\obj\Debug\net6.0-windows\WinFormsApp1.csproj.GenerateResource.cache
E:\Code\Faster.Zheng.Winin\Code\Be\CreateEntityByDBTable\WinFormsApp1\WinFormsApp1\obj\Debug\net6.0-windows\WinFormsApp1.GeneratedMSBuildEditorConfig.editorconfig
E:\Code\Faster.Zheng.Winin\Code\Be\CreateEntityByDBTable\WinFormsApp1\WinFormsApp1\obj\Debug\net6.0-windows\WinFormsApp1.AssemblyInfoInputs.cache
E:\Code\Faster.Zheng.Winin\Code\Be\CreateEntityByDBTable\WinFormsApp1\WinFormsApp1\obj\Debug\net6.0-windows\WinFormsApp1.AssemblyInfo.cs
E:\Code\Faster.Zheng.Winin\Code\Be\CreateEntityByDBTable\WinFormsApp1\WinFormsApp1\obj\Debug\net6.0-windows\WinFormsApp1.csproj.CoreCompileInputs.cache
E:\Code\Faster.Zheng.Winin\Code\Be\CreateEntityByDBTable\WinFormsApp1\WinFormsApp1\obj\Debug\net6.0-windows\WinFormsApp1.csproj.CopyComplete
E:\Code\Faster.Zheng.Winin\Code\Be\CreateEntityByDBTable\WinFormsApp1\WinFormsApp1\obj\Debug\net6.0-windows\WinFormsApp1.dll
E:\Code\Faster.Zheng.Winin\Code\Be\CreateEntityByDBTable\WinFormsApp1\WinFormsApp1\obj\Debug\net6.0-windows\refint\WinFormsApp1.dll
E:\Code\Faster.Zheng.Winin\Code\Be\CreateEntityByDBTable\WinFormsApp1\WinFormsApp1\obj\Debug\net6.0-windows\WinFormsApp1.pdb
E:\Code\Faster.Zheng.Winin\Code\Be\CreateEntityByDBTable\WinFormsApp1\WinFormsApp1\obj\Debug\net6.0-windows\WinFormsApp1.genruntimeconfig.cache
E:\Code\Faster.Zheng.Winin\Code\Be\CreateEntityByDBTable\WinFormsApp1\WinFormsApp1\obj\Debug\net6.0-windows\ref\WinFormsApp1.dll

BIN
Code/Be/CreateEntityByDBTable/WinFormsApp1/WinFormsApp1/obj/Debug/net6.0-windows/WinFormsApp1.csproj.GenerateResource.cache

Binary file not shown.

206
Code/Be/CreateEntityByDBTable/WinFormsApp1/WinFormsApp1/obj/Debug/net6.0-windows/WinFormsApp1.designer.deps.json

@ -0,0 +1,206 @@
{
"runtimeTarget": {
"name": ".NETCoreApp,Version=v6.0",
"signature": ""
},
"compilationOptions": {},
"targets": {
".NETCoreApp,Version=v6.0": {
"Microsoft.NETCore.Platforms/3.1.0": {},
"Microsoft.Win32.Registry/4.7.0": {
"dependencies": {
"System.Security.AccessControl": "4.7.0",
"System.Security.Principal.Windows": "4.7.0"
},
"runtime": {
"lib/netstandard2.0/Microsoft.Win32.Registry.dll": {
"assemblyVersion": "4.1.3.0",
"fileVersion": "4.700.19.56404"
}
},
"runtimeTargets": {
"runtimes/unix/lib/netstandard2.0/Microsoft.Win32.Registry.dll": {
"rid": "unix",
"assetType": "runtime",
"assemblyVersion": "4.1.3.0",
"fileVersion": "4.700.19.56404"
},
"runtimes/win/lib/netstandard2.0/Microsoft.Win32.Registry.dll": {
"rid": "win",
"assetType": "runtime",
"assemblyVersion": "4.1.3.0",
"fileVersion": "4.700.19.56404"
}
}
},
"runtime.native.System.Data.SqlClient.sni/4.7.0": {
"dependencies": {
"runtime.win-arm64.runtime.native.System.Data.SqlClient.sni": "4.4.0",
"runtime.win-x64.runtime.native.System.Data.SqlClient.sni": "4.4.0",
"runtime.win-x86.runtime.native.System.Data.SqlClient.sni": "4.4.0"
}
},
"runtime.win-arm64.runtime.native.System.Data.SqlClient.sni/4.4.0": {
"runtimeTargets": {
"runtimes/win-arm64/native/sni.dll": {
"rid": "win-arm64",
"assetType": "native",
"fileVersion": "4.6.25512.1"
}
}
},
"runtime.win-x64.runtime.native.System.Data.SqlClient.sni/4.4.0": {
"runtimeTargets": {
"runtimes/win-x64/native/sni.dll": {
"rid": "win-x64",
"assetType": "native",
"fileVersion": "4.6.25512.1"
}
}
},
"runtime.win-x86.runtime.native.System.Data.SqlClient.sni/4.4.0": {
"runtimeTargets": {
"runtimes/win-x86/native/sni.dll": {
"rid": "win-x86",
"assetType": "native",
"fileVersion": "4.6.25512.1"
}
}
},
"System.Data.SqlClient/4.8.5": {
"dependencies": {
"Microsoft.Win32.Registry": "4.7.0",
"System.Security.Principal.Windows": "4.7.0",
"runtime.native.System.Data.SqlClient.sni": "4.7.0"
},
"runtime": {
"lib/netcoreapp2.1/System.Data.SqlClient.dll": {
"assemblyVersion": "4.6.1.5",
"fileVersion": "4.700.22.51706"
}
},
"runtimeTargets": {
"runtimes/unix/lib/netcoreapp2.1/System.Data.SqlClient.dll": {
"rid": "unix",
"assetType": "runtime",
"assemblyVersion": "4.6.1.5",
"fileVersion": "4.700.22.51706"
},
"runtimes/win/lib/netcoreapp2.1/System.Data.SqlClient.dll": {
"rid": "win",
"assetType": "runtime",
"assemblyVersion": "4.6.1.5",
"fileVersion": "4.700.22.51706"
}
}
},
"System.Security.AccessControl/4.7.0": {
"dependencies": {
"Microsoft.NETCore.Platforms": "3.1.0",
"System.Security.Principal.Windows": "4.7.0"
},
"runtime": {
"lib/netstandard2.0/System.Security.AccessControl.dll": {
"assemblyVersion": "4.1.3.0",
"fileVersion": "4.700.19.56404"
}
},
"runtimeTargets": {
"runtimes/win/lib/netcoreapp2.0/System.Security.AccessControl.dll": {
"rid": "win",
"assetType": "runtime",
"assemblyVersion": "4.1.3.0",
"fileVersion": "4.700.19.56404"
}
}
},
"System.Security.Principal.Windows/4.7.0": {
"runtime": {
"lib/netstandard2.0/System.Security.Principal.Windows.dll": {
"assemblyVersion": "4.1.3.0",
"fileVersion": "4.700.19.56404"
}
},
"runtimeTargets": {
"runtimes/unix/lib/netcoreapp2.1/System.Security.Principal.Windows.dll": {
"rid": "unix",
"assetType": "runtime",
"assemblyVersion": "4.1.3.0",
"fileVersion": "4.700.19.56404"
},
"runtimes/win/lib/netcoreapp2.1/System.Security.Principal.Windows.dll": {
"rid": "win",
"assetType": "runtime",
"assemblyVersion": "4.1.3.0",
"fileVersion": "4.700.19.56404"
}
}
}
}
},
"libraries": {
"Microsoft.NETCore.Platforms/3.1.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-z7aeg8oHln2CuNulfhiLYxCVMPEwBl3rzicjvIX+4sUuCwvXw5oXQEtbiU2c0z4qYL5L3Kmx0mMA/+t/SbY67w==",
"path": "microsoft.netcore.platforms/3.1.0",
"hashPath": "microsoft.netcore.platforms.3.1.0.nupkg.sha512"
},
"Microsoft.Win32.Registry/4.7.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-KSrRMb5vNi0CWSGG1++id2ZOs/1QhRqROt+qgbEAdQuGjGrFcl4AOl4/exGPUYz2wUnU42nvJqon1T3U0kPXLA==",
"path": "microsoft.win32.registry/4.7.0",
"hashPath": "microsoft.win32.registry.4.7.0.nupkg.sha512"
},
"runtime.native.System.Data.SqlClient.sni/4.7.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-9kyFSIdN3T0qjDQ2R0HRXYIhS3l5psBzQi6qqhdLz+SzFyEy4sVxNOke+yyYv8Cu8rPER12c3RDjLT8wF3WBYQ==",
"path": "runtime.native.system.data.sqlclient.sni/4.7.0",
"hashPath": "runtime.native.system.data.sqlclient.sni.4.7.0.nupkg.sha512"
},
"runtime.win-arm64.runtime.native.System.Data.SqlClient.sni/4.4.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-LbrynESTp3bm5O/+jGL8v0Qg5SJlTV08lpIpFesXjF6uGNMWqFnUQbYBJwZTeua6E/Y7FIM1C54Ey1btLWupdg==",
"path": "runtime.win-arm64.runtime.native.system.data.sqlclient.sni/4.4.0",
"hashPath": "runtime.win-arm64.runtime.native.system.data.sqlclient.sni.4.4.0.nupkg.sha512"
},
"runtime.win-x64.runtime.native.System.Data.SqlClient.sni/4.4.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-38ugOfkYJqJoX9g6EYRlZB5U2ZJH51UP8ptxZgdpS07FgOEToV+lS11ouNK2PM12Pr6X/PpT5jK82G3DwH/SxQ==",
"path": "runtime.win-x64.runtime.native.system.data.sqlclient.sni/4.4.0",
"hashPath": "runtime.win-x64.runtime.native.system.data.sqlclient.sni.4.4.0.nupkg.sha512"
},
"runtime.win-x86.runtime.native.System.Data.SqlClient.sni/4.4.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-YhEdSQUsTx+C8m8Bw7ar5/VesXvCFMItyZF7G1AUY+OM0VPZUOeAVpJ4Wl6fydBGUYZxojTDR3I6Bj/+BPkJNA==",
"path": "runtime.win-x86.runtime.native.system.data.sqlclient.sni/4.4.0",
"hashPath": "runtime.win-x86.runtime.native.system.data.sqlclient.sni.4.4.0.nupkg.sha512"
},
"System.Data.SqlClient/4.8.5": {
"type": "package",
"serviceable": true,
"sha512": "sha512-fRqxut4lrndPHrXD+ht1XRmCL3obuKldm4XjCRYS9p5f7FSR7shBxAwTkDrpFMsHC9BhNgjjmUtiIjvehn5zkg==",
"path": "system.data.sqlclient/4.8.5",
"hashPath": "system.data.sqlclient.4.8.5.nupkg.sha512"
},
"System.Security.AccessControl/4.7.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-JECvTt5aFF3WT3gHpfofL2MNNP6v84sxtXxpqhLBCcDRzqsPBmHhQ6shv4DwwN2tRlzsUxtb3G9M3763rbXKDg==",
"path": "system.security.accesscontrol/4.7.0",
"hashPath": "system.security.accesscontrol.4.7.0.nupkg.sha512"
},
"System.Security.Principal.Windows/4.7.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-ojD0PX0XhneCsUbAZVKdb7h/70vyYMDYs85lwEI+LngEONe/17A0cFaRFqZU+sOEidcVswYWikYOQ9PPfjlbtQ==",
"path": "system.security.principal.windows/4.7.0",
"hashPath": "system.security.principal.windows.4.7.0.nupkg.sha512"
}
}
}

23
Code/Be/CreateEntityByDBTable/WinFormsApp1/WinFormsApp1/obj/Debug/net6.0-windows/WinFormsApp1.designer.runtimeconfig.json

@ -0,0 +1,23 @@
{
"runtimeOptions": {
"tfm": "net6.0",
"frameworks": [
{
"name": "Microsoft.NETCore.App",
"version": "6.0.0"
},
{
"name": "Microsoft.WindowsDesktop.App",
"version": "6.0.0"
}
],
"additionalProbingPaths": [
"C:\\Users\\Administrator\\.dotnet\\store\\|arch|\\|tfm|",
"C:\\Users\\Administrator\\.nuget\\packages",
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
],
"configProperties": {
"Microsoft.NETCore.DotNetHostPolicy.SetAppPaths": true
}
}
}

BIN
Code/Be/CreateEntityByDBTable/WinFormsApp1/WinFormsApp1/obj/Debug/net6.0-windows/WinFormsApp1.dll

Binary file not shown.

1
Code/Be/CreateEntityByDBTable/WinFormsApp1/WinFormsApp1/obj/Debug/net6.0-windows/WinFormsApp1.genruntimeconfig.cache

@ -0,0 +1 @@
b12f6d0954bccb7a14cda5c893954f44ccd1d27b

BIN
Code/Be/CreateEntityByDBTable/WinFormsApp1/WinFormsApp1/obj/Debug/net6.0-windows/WinFormsApp1.pdb

Binary file not shown.

BIN
Code/Be/CreateEntityByDBTable/WinFormsApp1/WinFormsApp1/obj/Debug/net6.0-windows/apphost.exe

Binary file not shown.

BIN
Code/Be/CreateEntityByDBTable/WinFormsApp1/WinFormsApp1/obj/Debug/net6.0-windows/ref/WinFormsApp1.dll

Binary file not shown.

BIN
Code/Be/CreateEntityByDBTable/WinFormsApp1/WinFormsApp1/obj/Debug/net6.0-windows/refint/WinFormsApp1.dll

Binary file not shown.

77
Code/Be/CreateEntityByDBTable/WinFormsApp1/WinFormsApp1/obj/WinFormsApp1.csproj.nuget.dgspec.json

@ -0,0 +1,77 @@
{
"format": 1,
"restore": {
"E:\\Code\\Faster.Zheng.Winin\\Code\\Be\\CreateEntityByDBTable\\WinFormsApp1\\WinFormsApp1\\WinFormsApp1.csproj": {}
},
"projects": {
"E:\\Code\\Faster.Zheng.Winin\\Code\\Be\\CreateEntityByDBTable\\WinFormsApp1\\WinFormsApp1\\WinFormsApp1.csproj": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "E:\\Code\\Faster.Zheng.Winin\\Code\\Be\\CreateEntityByDBTable\\WinFormsApp1\\WinFormsApp1\\WinFormsApp1.csproj",
"projectName": "WinFormsApp1",
"projectPath": "E:\\Code\\Faster.Zheng.Winin\\Code\\Be\\CreateEntityByDBTable\\WinFormsApp1\\WinFormsApp1\\WinFormsApp1.csproj",
"packagesPath": "C:\\Users\\Administrator\\.nuget\\packages\\",
"outputPath": "E:\\Code\\Faster.Zheng.Winin\\Code\\Be\\CreateEntityByDBTable\\WinFormsApp1\\WinFormsApp1\\obj\\",
"projectStyle": "PackageReference",
"fallbackFolders": [
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
],
"configFilePaths": [
"C:\\Users\\Administrator\\AppData\\Roaming\\NuGet\\NuGet.Config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
],
"originalTargetFrameworks": [
"net6.0-windows"
],
"sources": {
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
"C:\\Program Files\\dotnet\\library-packs": {},
"https://api.nuget.org/v3/index.json": {}
},
"frameworks": {
"net6.0-windows7.0": {
"targetAlias": "net6.0-windows",
"projectReferences": {}
}
},
"warningProperties": {
"warnAsError": [
"NU1605"
]
}
},
"frameworks": {
"net6.0-windows7.0": {
"targetAlias": "net6.0-windows",
"dependencies": {
"System.Data.SqlClient": {
"target": "Package",
"version": "[4.8.5, )"
}
},
"imports": [
"net461",
"net462",
"net47",
"net471",
"net472",
"net48",
"net481"
],
"assetTargetFallback": true,
"warn": true,
"frameworkReferences": {
"Microsoft.NETCore.App": {
"privateAssets": "all"
},
"Microsoft.WindowsDesktop.App.WindowsForms": {
"privateAssets": "none"
}
},
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\7.0.304\\RuntimeIdentifierGraph.json"
}
}
}
}
}

16
Code/Be/CreateEntityByDBTable/WinFormsApp1/WinFormsApp1/obj/WinFormsApp1.csproj.nuget.g.props

@ -0,0 +1,16 @@
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<RestoreSuccess Condition=" '$(RestoreSuccess)' == '' ">True</RestoreSuccess>
<RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool>
<ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">$(MSBuildThisFileDirectory)project.assets.json</ProjectAssetsFile>
<NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">$(UserProfile)\.nuget\packages\</NuGetPackageRoot>
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\Administrator\.nuget\packages\;C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages</NuGetPackageFolders>
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.6.0</NuGetToolVersion>
</PropertyGroup>
<ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<SourceRoot Include="C:\Users\Administrator\.nuget\packages\" />
<SourceRoot Include="C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages\" />
</ItemGroup>
</Project>

2
Code/Be/CreateEntityByDBTable/WinFormsApp1/WinFormsApp1/obj/WinFormsApp1.csproj.nuget.g.targets

@ -0,0 +1,2 @@
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" />

545
Code/Be/CreateEntityByDBTable/WinFormsApp1/WinFormsApp1/obj/project.assets.json

@ -0,0 +1,545 @@
{
"version": 3,
"targets": {
"net6.0-windows7.0": {
"Microsoft.NETCore.Platforms/3.1.0": {
"type": "package",
"compile": {
"lib/netstandard1.0/_._": {}
},
"runtime": {
"lib/netstandard1.0/_._": {}
}
},
"Microsoft.Win32.Registry/4.7.0": {
"type": "package",
"dependencies": {
"System.Security.AccessControl": "4.7.0",
"System.Security.Principal.Windows": "4.7.0"
},
"compile": {
"ref/netstandard2.0/_._": {
"related": ".xml"
}
},
"runtime": {
"lib/netstandard2.0/Microsoft.Win32.Registry.dll": {
"related": ".xml"
}
},
"runtimeTargets": {
"runtimes/unix/lib/netstandard2.0/Microsoft.Win32.Registry.dll": {
"assetType": "runtime",
"rid": "unix"
},
"runtimes/win/lib/netstandard2.0/Microsoft.Win32.Registry.dll": {
"assetType": "runtime",
"rid": "win"
}
}
},
"runtime.native.System.Data.SqlClient.sni/4.7.0": {
"type": "package",
"dependencies": {
"runtime.win-arm64.runtime.native.System.Data.SqlClient.sni": "4.4.0",
"runtime.win-x64.runtime.native.System.Data.SqlClient.sni": "4.4.0",
"runtime.win-x86.runtime.native.System.Data.SqlClient.sni": "4.4.0"
}
},
"runtime.win-arm64.runtime.native.System.Data.SqlClient.sni/4.4.0": {
"type": "package",
"runtimeTargets": {
"runtimes/win-arm64/native/sni.dll": {
"assetType": "native",
"rid": "win-arm64"
}
}
},
"runtime.win-x64.runtime.native.System.Data.SqlClient.sni/4.4.0": {
"type": "package",
"runtimeTargets": {
"runtimes/win-x64/native/sni.dll": {
"assetType": "native",
"rid": "win-x64"
}
}
},
"runtime.win-x86.runtime.native.System.Data.SqlClient.sni/4.4.0": {
"type": "package",
"runtimeTargets": {
"runtimes/win-x86/native/sni.dll": {
"assetType": "native",
"rid": "win-x86"
}
}
},
"System.Data.SqlClient/4.8.5": {
"type": "package",
"dependencies": {
"Microsoft.Win32.Registry": "4.7.0",
"System.Security.Principal.Windows": "4.7.0",
"runtime.native.System.Data.SqlClient.sni": "4.7.0"
},
"compile": {
"ref/netcoreapp2.1/System.Data.SqlClient.dll": {
"related": ".xml"
}
},
"runtime": {
"lib/netcoreapp2.1/System.Data.SqlClient.dll": {
"related": ".xml"
}
},
"runtimeTargets": {
"runtimes/unix/lib/netcoreapp2.1/System.Data.SqlClient.dll": {
"assetType": "runtime",
"rid": "unix"
},
"runtimes/win/lib/netcoreapp2.1/System.Data.SqlClient.dll": {
"assetType": "runtime",
"rid": "win"
}
}
},
"System.Security.AccessControl/4.7.0": {
"type": "package",
"dependencies": {
"Microsoft.NETCore.Platforms": "3.1.0",
"System.Security.Principal.Windows": "4.7.0"
},
"compile": {
"ref/netstandard2.0/_._": {
"related": ".xml"
}
},
"runtime": {
"lib/netstandard2.0/System.Security.AccessControl.dll": {
"related": ".xml"
}
},
"runtimeTargets": {
"runtimes/win/lib/netcoreapp2.0/System.Security.AccessControl.dll": {
"assetType": "runtime",
"rid": "win"
}
}
},
"System.Security.Principal.Windows/4.7.0": {
"type": "package",
"compile": {
"ref/netcoreapp3.0/_._": {
"related": ".xml"
}
},
"runtime": {
"lib/netstandard2.0/System.Security.Principal.Windows.dll": {
"related": ".xml"
}
},
"runtimeTargets": {
"runtimes/unix/lib/netcoreapp2.1/System.Security.Principal.Windows.dll": {
"assetType": "runtime",
"rid": "unix"
},
"runtimes/win/lib/netcoreapp2.1/System.Security.Principal.Windows.dll": {
"assetType": "runtime",
"rid": "win"
}
}
}
}
},
"libraries": {
"Microsoft.NETCore.Platforms/3.1.0": {
"sha512": "z7aeg8oHln2CuNulfhiLYxCVMPEwBl3rzicjvIX+4sUuCwvXw5oXQEtbiU2c0z4qYL5L3Kmx0mMA/+t/SbY67w==",
"type": "package",
"path": "microsoft.netcore.platforms/3.1.0",
"files": [
".nupkg.metadata",
".signature.p7s",
"LICENSE.TXT",
"THIRD-PARTY-NOTICES.TXT",
"lib/netstandard1.0/_._",
"microsoft.netcore.platforms.3.1.0.nupkg.sha512",
"microsoft.netcore.platforms.nuspec",
"runtime.json",
"useSharedDesignerContext.txt",
"version.txt"
]
},
"Microsoft.Win32.Registry/4.7.0": {
"sha512": "KSrRMb5vNi0CWSGG1++id2ZOs/1QhRqROt+qgbEAdQuGjGrFcl4AOl4/exGPUYz2wUnU42nvJqon1T3U0kPXLA==",
"type": "package",
"path": "microsoft.win32.registry/4.7.0",
"files": [
".nupkg.metadata",
".signature.p7s",
"LICENSE.TXT",
"THIRD-PARTY-NOTICES.TXT",
"lib/net46/Microsoft.Win32.Registry.dll",
"lib/net461/Microsoft.Win32.Registry.dll",
"lib/net461/Microsoft.Win32.Registry.xml",
"lib/netstandard1.3/Microsoft.Win32.Registry.dll",
"lib/netstandard2.0/Microsoft.Win32.Registry.dll",
"lib/netstandard2.0/Microsoft.Win32.Registry.xml",
"microsoft.win32.registry.4.7.0.nupkg.sha512",
"microsoft.win32.registry.nuspec",
"ref/net46/Microsoft.Win32.Registry.dll",
"ref/net461/Microsoft.Win32.Registry.dll",
"ref/net461/Microsoft.Win32.Registry.xml",
"ref/net472/Microsoft.Win32.Registry.dll",
"ref/net472/Microsoft.Win32.Registry.xml",
"ref/netstandard1.3/Microsoft.Win32.Registry.dll",
"ref/netstandard1.3/Microsoft.Win32.Registry.xml",
"ref/netstandard1.3/de/Microsoft.Win32.Registry.xml",
"ref/netstandard1.3/es/Microsoft.Win32.Registry.xml",
"ref/netstandard1.3/fr/Microsoft.Win32.Registry.xml",
"ref/netstandard1.3/it/Microsoft.Win32.Registry.xml",
"ref/netstandard1.3/ja/Microsoft.Win32.Registry.xml",
"ref/netstandard1.3/ko/Microsoft.Win32.Registry.xml",
"ref/netstandard1.3/ru/Microsoft.Win32.Registry.xml",
"ref/netstandard1.3/zh-hans/Microsoft.Win32.Registry.xml",
"ref/netstandard1.3/zh-hant/Microsoft.Win32.Registry.xml",
"ref/netstandard2.0/Microsoft.Win32.Registry.dll",
"ref/netstandard2.0/Microsoft.Win32.Registry.xml",
"runtimes/unix/lib/netstandard2.0/Microsoft.Win32.Registry.dll",
"runtimes/unix/lib/netstandard2.0/Microsoft.Win32.Registry.xml",
"runtimes/win/lib/net46/Microsoft.Win32.Registry.dll",
"runtimes/win/lib/net461/Microsoft.Win32.Registry.dll",
"runtimes/win/lib/net461/Microsoft.Win32.Registry.xml",
"runtimes/win/lib/netstandard1.3/Microsoft.Win32.Registry.dll",
"runtimes/win/lib/netstandard2.0/Microsoft.Win32.Registry.dll",
"runtimes/win/lib/netstandard2.0/Microsoft.Win32.Registry.xml",
"useSharedDesignerContext.txt",
"version.txt"
]
},
"runtime.native.System.Data.SqlClient.sni/4.7.0": {
"sha512": "9kyFSIdN3T0qjDQ2R0HRXYIhS3l5psBzQi6qqhdLz+SzFyEy4sVxNOke+yyYv8Cu8rPER12c3RDjLT8wF3WBYQ==",
"type": "package",
"path": "runtime.native.system.data.sqlclient.sni/4.7.0",
"files": [
".nupkg.metadata",
".signature.p7s",
"LICENSE.TXT",
"THIRD-PARTY-NOTICES.TXT",
"runtime.native.system.data.sqlclient.sni.4.7.0.nupkg.sha512",
"runtime.native.system.data.sqlclient.sni.nuspec",
"useSharedDesignerContext.txt",
"version.txt"
]
},
"runtime.win-arm64.runtime.native.System.Data.SqlClient.sni/4.4.0": {
"sha512": "LbrynESTp3bm5O/+jGL8v0Qg5SJlTV08lpIpFesXjF6uGNMWqFnUQbYBJwZTeua6E/Y7FIM1C54Ey1btLWupdg==",
"type": "package",
"path": "runtime.win-arm64.runtime.native.system.data.sqlclient.sni/4.4.0",
"files": [
".nupkg.metadata",
".signature.p7s",
"ThirdPartyNotices.txt",
"dotnet_library_license.txt",
"runtime.win-arm64.runtime.native.system.data.sqlclient.sni.4.4.0.nupkg.sha512",
"runtime.win-arm64.runtime.native.system.data.sqlclient.sni.nuspec",
"runtimes/win-arm64/native/sni.dll",
"useSharedDesignerContext.txt",
"version.txt"
]
},
"runtime.win-x64.runtime.native.System.Data.SqlClient.sni/4.4.0": {
"sha512": "38ugOfkYJqJoX9g6EYRlZB5U2ZJH51UP8ptxZgdpS07FgOEToV+lS11ouNK2PM12Pr6X/PpT5jK82G3DwH/SxQ==",
"type": "package",
"path": "runtime.win-x64.runtime.native.system.data.sqlclient.sni/4.4.0",
"files": [
".nupkg.metadata",
".signature.p7s",
"ThirdPartyNotices.txt",
"dotnet_library_license.txt",
"runtime.win-x64.runtime.native.system.data.sqlclient.sni.4.4.0.nupkg.sha512",
"runtime.win-x64.runtime.native.system.data.sqlclient.sni.nuspec",
"runtimes/win-x64/native/sni.dll",
"useSharedDesignerContext.txt",
"version.txt"
]
},
"runtime.win-x86.runtime.native.System.Data.SqlClient.sni/4.4.0": {
"sha512": "YhEdSQUsTx+C8m8Bw7ar5/VesXvCFMItyZF7G1AUY+OM0VPZUOeAVpJ4Wl6fydBGUYZxojTDR3I6Bj/+BPkJNA==",
"type": "package",
"path": "runtime.win-x86.runtime.native.system.data.sqlclient.sni/4.4.0",
"files": [
".nupkg.metadata",
".signature.p7s",
"ThirdPartyNotices.txt",
"dotnet_library_license.txt",
"runtime.win-x86.runtime.native.system.data.sqlclient.sni.4.4.0.nupkg.sha512",
"runtime.win-x86.runtime.native.system.data.sqlclient.sni.nuspec",
"runtimes/win-x86/native/sni.dll",
"useSharedDesignerContext.txt",
"version.txt"
]
},
"System.Data.SqlClient/4.8.5": {
"sha512": "fRqxut4lrndPHrXD+ht1XRmCL3obuKldm4XjCRYS9p5f7FSR7shBxAwTkDrpFMsHC9BhNgjjmUtiIjvehn5zkg==",
"type": "package",
"path": "system.data.sqlclient/4.8.5",
"files": [
".nupkg.metadata",
".signature.p7s",
"Icon.png",
"LICENSE.TXT",
"THIRD-PARTY-NOTICES.TXT",
"lib/MonoAndroid10/_._",
"lib/MonoTouch10/_._",
"lib/net451/System.Data.SqlClient.dll",
"lib/net46/System.Data.SqlClient.dll",
"lib/net461/System.Data.SqlClient.dll",
"lib/net461/System.Data.SqlClient.xml",
"lib/netcoreapp2.1/System.Data.SqlClient.dll",
"lib/netcoreapp2.1/System.Data.SqlClient.xml",
"lib/netstandard1.2/System.Data.SqlClient.dll",
"lib/netstandard1.2/System.Data.SqlClient.xml",
"lib/netstandard1.3/System.Data.SqlClient.dll",
"lib/netstandard1.3/System.Data.SqlClient.xml",
"lib/netstandard2.0/System.Data.SqlClient.dll",
"lib/netstandard2.0/System.Data.SqlClient.xml",
"lib/xamarinios10/_._",
"lib/xamarinmac20/_._",
"lib/xamarintvos10/_._",
"lib/xamarinwatchos10/_._",
"ref/MonoAndroid10/_._",
"ref/MonoTouch10/_._",
"ref/net451/System.Data.SqlClient.dll",
"ref/net46/System.Data.SqlClient.dll",
"ref/net461/System.Data.SqlClient.dll",
"ref/net461/System.Data.SqlClient.xml",
"ref/netcoreapp2.1/System.Data.SqlClient.dll",
"ref/netcoreapp2.1/System.Data.SqlClient.xml",
"ref/netstandard1.2/System.Data.SqlClient.dll",
"ref/netstandard1.2/System.Data.SqlClient.xml",
"ref/netstandard1.2/de/System.Data.SqlClient.xml",
"ref/netstandard1.2/es/System.Data.SqlClient.xml",
"ref/netstandard1.2/fr/System.Data.SqlClient.xml",
"ref/netstandard1.2/it/System.Data.SqlClient.xml",
"ref/netstandard1.2/ja/System.Data.SqlClient.xml",
"ref/netstandard1.2/ko/System.Data.SqlClient.xml",
"ref/netstandard1.2/ru/System.Data.SqlClient.xml",
"ref/netstandard1.2/zh-hans/System.Data.SqlClient.xml",
"ref/netstandard1.2/zh-hant/System.Data.SqlClient.xml",
"ref/netstandard1.3/System.Data.SqlClient.dll",
"ref/netstandard1.3/System.Data.SqlClient.xml",
"ref/netstandard1.3/de/System.Data.SqlClient.xml",
"ref/netstandard1.3/es/System.Data.SqlClient.xml",
"ref/netstandard1.3/fr/System.Data.SqlClient.xml",
"ref/netstandard1.3/it/System.Data.SqlClient.xml",
"ref/netstandard1.3/ja/System.Data.SqlClient.xml",
"ref/netstandard1.3/ko/System.Data.SqlClient.xml",
"ref/netstandard1.3/ru/System.Data.SqlClient.xml",
"ref/netstandard1.3/zh-hans/System.Data.SqlClient.xml",
"ref/netstandard1.3/zh-hant/System.Data.SqlClient.xml",
"ref/netstandard2.0/System.Data.SqlClient.dll",
"ref/netstandard2.0/System.Data.SqlClient.xml",
"ref/xamarinios10/_._",
"ref/xamarinmac20/_._",
"ref/xamarintvos10/_._",
"ref/xamarinwatchos10/_._",
"runtimes/unix/lib/netcoreapp2.1/System.Data.SqlClient.dll",
"runtimes/unix/lib/netcoreapp2.1/System.Data.SqlClient.xml",
"runtimes/unix/lib/netstandard1.3/System.Data.SqlClient.dll",
"runtimes/unix/lib/netstandard2.0/System.Data.SqlClient.dll",
"runtimes/unix/lib/netstandard2.0/System.Data.SqlClient.xml",
"runtimes/win/lib/net451/System.Data.SqlClient.dll",
"runtimes/win/lib/net46/System.Data.SqlClient.dll",
"runtimes/win/lib/net461/System.Data.SqlClient.dll",
"runtimes/win/lib/net461/System.Data.SqlClient.xml",
"runtimes/win/lib/netcoreapp2.1/System.Data.SqlClient.dll",
"runtimes/win/lib/netcoreapp2.1/System.Data.SqlClient.xml",
"runtimes/win/lib/netstandard1.3/System.Data.SqlClient.dll",
"runtimes/win/lib/netstandard2.0/System.Data.SqlClient.dll",
"runtimes/win/lib/netstandard2.0/System.Data.SqlClient.xml",
"runtimes/win/lib/uap10.0.16299/System.Data.SqlClient.dll",
"runtimes/win/lib/uap10.0.16299/System.Data.SqlClient.xml",
"system.data.sqlclient.4.8.5.nupkg.sha512",
"system.data.sqlclient.nuspec",
"useSharedDesignerContext.txt",
"version.txt"
]
},
"System.Security.AccessControl/4.7.0": {
"sha512": "JECvTt5aFF3WT3gHpfofL2MNNP6v84sxtXxpqhLBCcDRzqsPBmHhQ6shv4DwwN2tRlzsUxtb3G9M3763rbXKDg==",
"type": "package",
"path": "system.security.accesscontrol/4.7.0",
"files": [
".nupkg.metadata",
".signature.p7s",
"LICENSE.TXT",
"THIRD-PARTY-NOTICES.TXT",
"lib/net46/System.Security.AccessControl.dll",
"lib/net461/System.Security.AccessControl.dll",
"lib/net461/System.Security.AccessControl.xml",
"lib/netstandard1.3/System.Security.AccessControl.dll",
"lib/netstandard2.0/System.Security.AccessControl.dll",
"lib/netstandard2.0/System.Security.AccessControl.xml",
"lib/uap10.0.16299/_._",
"ref/net46/System.Security.AccessControl.dll",
"ref/net461/System.Security.AccessControl.dll",
"ref/net461/System.Security.AccessControl.xml",
"ref/netstandard1.3/System.Security.AccessControl.dll",
"ref/netstandard1.3/System.Security.AccessControl.xml",
"ref/netstandard1.3/de/System.Security.AccessControl.xml",
"ref/netstandard1.3/es/System.Security.AccessControl.xml",
"ref/netstandard1.3/fr/System.Security.AccessControl.xml",
"ref/netstandard1.3/it/System.Security.AccessControl.xml",
"ref/netstandard1.3/ja/System.Security.AccessControl.xml",
"ref/netstandard1.3/ko/System.Security.AccessControl.xml",
"ref/netstandard1.3/ru/System.Security.AccessControl.xml",
"ref/netstandard1.3/zh-hans/System.Security.AccessControl.xml",
"ref/netstandard1.3/zh-hant/System.Security.AccessControl.xml",
"ref/netstandard2.0/System.Security.AccessControl.dll",
"ref/netstandard2.0/System.Security.AccessControl.xml",
"ref/uap10.0.16299/_._",
"runtimes/win/lib/net46/System.Security.AccessControl.dll",
"runtimes/win/lib/net461/System.Security.AccessControl.dll",
"runtimes/win/lib/net461/System.Security.AccessControl.xml",
"runtimes/win/lib/netcoreapp2.0/System.Security.AccessControl.dll",
"runtimes/win/lib/netcoreapp2.0/System.Security.AccessControl.xml",
"runtimes/win/lib/netstandard1.3/System.Security.AccessControl.dll",
"runtimes/win/lib/uap10.0.16299/_._",
"system.security.accesscontrol.4.7.0.nupkg.sha512",
"system.security.accesscontrol.nuspec",
"useSharedDesignerContext.txt",
"version.txt"
]
},
"System.Security.Principal.Windows/4.7.0": {
"sha512": "ojD0PX0XhneCsUbAZVKdb7h/70vyYMDYs85lwEI+LngEONe/17A0cFaRFqZU+sOEidcVswYWikYOQ9PPfjlbtQ==",
"type": "package",
"path": "system.security.principal.windows/4.7.0",
"files": [
".nupkg.metadata",
".signature.p7s",
"LICENSE.TXT",
"THIRD-PARTY-NOTICES.TXT",
"lib/net46/System.Security.Principal.Windows.dll",
"lib/net461/System.Security.Principal.Windows.dll",
"lib/net461/System.Security.Principal.Windows.xml",
"lib/netstandard1.3/System.Security.Principal.Windows.dll",
"lib/netstandard2.0/System.Security.Principal.Windows.dll",
"lib/netstandard2.0/System.Security.Principal.Windows.xml",
"lib/uap10.0.16299/_._",
"ref/net46/System.Security.Principal.Windows.dll",
"ref/net461/System.Security.Principal.Windows.dll",
"ref/net461/System.Security.Principal.Windows.xml",
"ref/netcoreapp3.0/System.Security.Principal.Windows.dll",
"ref/netcoreapp3.0/System.Security.Principal.Windows.xml",
"ref/netstandard1.3/System.Security.Principal.Windows.dll",
"ref/netstandard1.3/System.Security.Principal.Windows.xml",
"ref/netstandard1.3/de/System.Security.Principal.Windows.xml",
"ref/netstandard1.3/es/System.Security.Principal.Windows.xml",
"ref/netstandard1.3/fr/System.Security.Principal.Windows.xml",
"ref/netstandard1.3/it/System.Security.Principal.Windows.xml",
"ref/netstandard1.3/ja/System.Security.Principal.Windows.xml",
"ref/netstandard1.3/ko/System.Security.Principal.Windows.xml",
"ref/netstandard1.3/ru/System.Security.Principal.Windows.xml",
"ref/netstandard1.3/zh-hans/System.Security.Principal.Windows.xml",
"ref/netstandard1.3/zh-hant/System.Security.Principal.Windows.xml",
"ref/netstandard2.0/System.Security.Principal.Windows.dll",
"ref/netstandard2.0/System.Security.Principal.Windows.xml",
"ref/uap10.0.16299/_._",
"runtimes/unix/lib/netcoreapp2.0/System.Security.Principal.Windows.dll",
"runtimes/unix/lib/netcoreapp2.0/System.Security.Principal.Windows.xml",
"runtimes/unix/lib/netcoreapp2.1/System.Security.Principal.Windows.dll",
"runtimes/unix/lib/netcoreapp2.1/System.Security.Principal.Windows.xml",
"runtimes/win/lib/net46/System.Security.Principal.Windows.dll",
"runtimes/win/lib/net461/System.Security.Principal.Windows.dll",
"runtimes/win/lib/net461/System.Security.Principal.Windows.xml",
"runtimes/win/lib/netcoreapp2.0/System.Security.Principal.Windows.dll",
"runtimes/win/lib/netcoreapp2.0/System.Security.Principal.Windows.xml",
"runtimes/win/lib/netcoreapp2.1/System.Security.Principal.Windows.dll",
"runtimes/win/lib/netcoreapp2.1/System.Security.Principal.Windows.xml",
"runtimes/win/lib/netstandard1.3/System.Security.Principal.Windows.dll",
"runtimes/win/lib/uap10.0.16299/_._",
"system.security.principal.windows.4.7.0.nupkg.sha512",
"system.security.principal.windows.nuspec",
"useSharedDesignerContext.txt",
"version.txt"
]
}
},
"projectFileDependencyGroups": {
"net6.0-windows7.0": [
"System.Data.SqlClient >= 4.8.5"
]
},
"packageFolders": {
"C:\\Users\\Administrator\\.nuget\\packages\\": {},
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages": {}
},
"project": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "E:\\Code\\Faster.Zheng.Winin\\Code\\Be\\CreateEntityByDBTable\\WinFormsApp1\\WinFormsApp1\\WinFormsApp1.csproj",
"projectName": "WinFormsApp1",
"projectPath": "E:\\Code\\Faster.Zheng.Winin\\Code\\Be\\CreateEntityByDBTable\\WinFormsApp1\\WinFormsApp1\\WinFormsApp1.csproj",
"packagesPath": "C:\\Users\\Administrator\\.nuget\\packages\\",
"outputPath": "E:\\Code\\Faster.Zheng.Winin\\Code\\Be\\CreateEntityByDBTable\\WinFormsApp1\\WinFormsApp1\\obj\\",
"projectStyle": "PackageReference",
"fallbackFolders": [
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
],
"configFilePaths": [
"C:\\Users\\Administrator\\AppData\\Roaming\\NuGet\\NuGet.Config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
],
"originalTargetFrameworks": [
"net6.0-windows"
],
"sources": {
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
"C:\\Program Files\\dotnet\\library-packs": {},
"https://api.nuget.org/v3/index.json": {}
},
"frameworks": {
"net6.0-windows7.0": {
"targetAlias": "net6.0-windows",
"projectReferences": {}
}
},
"warningProperties": {
"warnAsError": [
"NU1605"
]
}
},
"frameworks": {
"net6.0-windows7.0": {
"targetAlias": "net6.0-windows",
"dependencies": {
"System.Data.SqlClient": {
"target": "Package",
"version": "[4.8.5, )"
}
},
"imports": [
"net461",
"net462",
"net47",
"net471",
"net472",
"net48",
"net481"
],
"assetTargetFallback": true,
"warn": true,
"frameworkReferences": {
"Microsoft.NETCore.App": {
"privateAssets": "all"
},
"Microsoft.WindowsDesktop.App.WindowsForms": {
"privateAssets": "none"
}
},
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\7.0.304\\RuntimeIdentifierGraph.json"
}
}
}
}

18
Code/Be/CreateEntityByDBTable/WinFormsApp1/WinFormsApp1/obj/project.nuget.cache

@ -0,0 +1,18 @@
{
"version": 2,
"dgSpecHash": "OjhrQ28vYKHHiL6hZMw0FrzfMtwFaKZPfN7e7SXTSSAsUuBdErMkSiVhTrJJdM9bLwBXV8QBgQkSzeLz0iA3tQ==",
"success": true,
"projectFilePath": "E:\\Code\\Faster.Zheng.Winin\\Code\\Be\\CreateEntityByDBTable\\WinFormsApp1\\WinFormsApp1\\WinFormsApp1.csproj",
"expectedPackageFiles": [
"C:\\Users\\Administrator\\.nuget\\packages\\microsoft.netcore.platforms\\3.1.0\\microsoft.netcore.platforms.3.1.0.nupkg.sha512",
"C:\\Users\\Administrator\\.nuget\\packages\\microsoft.win32.registry\\4.7.0\\microsoft.win32.registry.4.7.0.nupkg.sha512",
"C:\\Users\\Administrator\\.nuget\\packages\\runtime.native.system.data.sqlclient.sni\\4.7.0\\runtime.native.system.data.sqlclient.sni.4.7.0.nupkg.sha512",
"C:\\Users\\Administrator\\.nuget\\packages\\runtime.win-arm64.runtime.native.system.data.sqlclient.sni\\4.4.0\\runtime.win-arm64.runtime.native.system.data.sqlclient.sni.4.4.0.nupkg.sha512",
"C:\\Users\\Administrator\\.nuget\\packages\\runtime.win-x64.runtime.native.system.data.sqlclient.sni\\4.4.0\\runtime.win-x64.runtime.native.system.data.sqlclient.sni.4.4.0.nupkg.sha512",
"C:\\Users\\Administrator\\.nuget\\packages\\runtime.win-x86.runtime.native.system.data.sqlclient.sni\\4.4.0\\runtime.win-x86.runtime.native.system.data.sqlclient.sni.4.4.0.nupkg.sha512",
"C:\\Users\\Administrator\\.nuget\\packages\\system.data.sqlclient\\4.8.5\\system.data.sqlclient.4.8.5.nupkg.sha512",
"C:\\Users\\Administrator\\.nuget\\packages\\system.security.accesscontrol\\4.7.0\\system.security.accesscontrol.4.7.0.nupkg.sha512",
"C:\\Users\\Administrator\\.nuget\\packages\\system.security.principal.windows\\4.7.0\\system.security.principal.windows.4.7.0.nupkg.sha512"
],
"logs": []
}

10
Code/Be/Faster.Zheng.Winin/src/Faster.Zheng.Winin.Application/AppBase/ZbxBase.cs

@ -534,7 +534,15 @@ public class ZbxBase<TEntity, TEntityDto, TKey, TPagedAndSortedResultRequestDto,
{ {
if (string.IsNullOrEmpty(sorting)) if (string.IsNullOrEmpty(sorting))
{ {
entities = entities.OrderBy("Id"); var createTimePropertyInfo = typeof(TEntity).GetProperty("CreationTime");
if (createTimePropertyInfo != null)
{
entities = entities.OrderBy("CreationTime DESC");
}
else
{
entities = entities.OrderBy("Id");
}
} }
else else
{ {

Loading…
Cancel
Save