SugarTool 1.4.2025.910
dotnet tool install --global SugarTool --version 1.4.2025.910
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
dotnet tool install --local SugarTool --version 1.4.2025.910
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=SugarTool&version=1.4.2025.910
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
nuke :add-package SugarTool --version 1.4.2025.910
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
xml�ļ�תSqlsugarʵ����
��װȫ�ֹ���
dotnet tool install sugartool -g
�ڰ���Model.xml��ĿĿ¼��ִ��
sugartool
Model.xml�ļ�ʾ��
<?xml version="1.0" encoding="utf-8"?>
<Tables xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:schemaLocation="https://newlifex.com https://newlifex.com/Model2022.xsd" NameSpace="Sqlsugar.Entity" ConnName="Paladin" Output="Entity" BaseClass="Entity" Version="11.1.2022.0523" Document="https://newlifex.com/xcode/model" xmlns="https://newlifex.com/Model2022.xsd">
<Table Name="User" Description="�û����û��ʺ���Ϣ���������֤Ϊ���ģ�ӵ�ж��ֽ�ɫ���ɼ������⻧">
<Columns>
<Column Name="ID" DataType="Int32" Identity="True" PrimaryKey="True" Description="���" />
<Column Name="Name" DataType="String" Master="True" Nullable="False" Description="���ơ���¼�û���" />
<Column Name="Password" DataType="String" Length="200" Description="����" />
<Column Name="DisplayName" DataType="String" Description="�dz�" />
<Column Name="Sex" DataType="Int32" Description="�Ա�δ֪���С�Ů" Type="XCode.Membership.SexKinds" />
<Column Name="Mail" DataType="String" ItemType="mail" Description="�ʼ���֧�ֵ�¼" />
<Column Name="Mobile" DataType="String" ItemType="mobile" Description="�ֻ���֧�ֵ�¼" />
<Column Name="Code" DataType="String" Description="���롣���֤��Ա������ȣ�֧�ֵ�¼" />
<Column Name="AreaId" DataType="Int32" Map="XCode.Membership.Area@Id@Path@AreaPath" Description="������ʡ����" />
<Column Name="Avatar" DataType="String" ItemType="image" Length="200" Description="ͷ��" />
<Column Name="RoleID" DataType="Int32" Map="Role@Id@Name" DefaultValue="3" Description="��ɫ����Ҫ��ɫ" Category="��¼��Ϣ" />
<Column Name="RoleIds" DataType="String" Length="200" Description="��ɫ�顣��Ҫ��ɫ����" Category="��¼��Ϣ" />
<Column Name="DepartmentID" DataType="Int32" Map="Department@Id@Name" Description="���š���֯����" Category="��¼��Ϣ" />
<Column Name="Online" DataType="Boolean" Description="����" Category="��¼��Ϣ" />
<Column Name="Enable" DataType="Boolean" Description="����" Category="��¼��Ϣ" />
<Column Name="Age" DataType="Int32" Description="���䡣����" />
<Column Name="Birthday" DataType="DateTime" Description="���ա�����������" />
<Column Name="Logins" DataType="Int32" Description="��¼����" Category="��¼��Ϣ" />
<Column Name="LastLogin" DataType="DateTime" Description="����¼" Category="��¼��Ϣ" />
<Column Name="LastLoginIP" DataType="String" Description="����¼IP" Category="��¼��Ϣ" />
<Column Name="RegisterTime" DataType="DateTime" Description="ע��ʱ��" Category="��¼��Ϣ" />
<Column Name="RegisterIP" DataType="String" Description="ע��IP" Category="��¼��Ϣ" />
<Column Name="OnlineTime" DataType="Int32" ItemType="TimeSpan" Description="����ʱ�䡣�ۼ�������ʱ�䣬��λ��" Category="��¼��Ϣ" />
<Column Name="Ex1" DataType="Int32" Description="��չ1" Category="��չ" />
<Column Name="Ex2" DataType="Int32" Description="��չ2" Category="��չ" />
<Column Name="Ex3" DataType="Double" Description="��չ3" Category="��չ" />
<Column Name="Ex4" DataType="String" Description="��չ4" Category="��չ" />
<Column Name="Ex5" DataType="String" Description="��չ5" Category="��չ" />
<Column Name="Ex6" DataType="String" Description="��չ6" Attribute="XmlIgnore, ScriptIgnore, IgnoreDataMember" Category="��չ" />
<Column Name="UpdateUser" DataType="String" Nullable="False" DefaultValue="''" Description="������" Model="False" Category="��չ" />
<Column Name="UpdateUserID" DataType="Int32" Description="�����û�" Model="False" Category="��չ" />
<Column Name="UpdateIP" DataType="String" Description="���µ�ַ" Model="False" Category="��չ" />
<Column Name="UpdateTime" DataType="DateTime" Nullable="False" Description="����ʱ��" Model="False" Category="��չ" />
<Column Name="Remark" DataType="String" Length="500" Description="��ע" Category="��չ" />
</Columns>
<Indexes>
<Index Columns="Name" Unique="True" />
<Index Columns="Mail" />
<Index Columns="Mobile" />
<Index Columns="Code" />
<Index Columns="RoleID" />
<Index Columns="UpdateTime" />
</Indexes>
</Table>
</Tables>
ע��
��δ����Map����,�ȴ����������
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 is compatible. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
This package has no dependencies.
Version | Downloads | Last Updated |
---|---|---|
1.4.2025.910 | 107 | 9/10/2025 |
1.3.2025.910 | 108 | 9/10/2025 |
1.1.2025.910 | 104 | 9/10/2025 |
1.1.2025.519 | 166 | 5/19/2025 |
1.0.2025.519 | 142 | 5/19/2025 |