Skip to content

Commit

Permalink
fix Ignore system tables by is_ms_shipped
Browse files Browse the repository at this point in the history
  • Loading branch information
Ahoo-Wang committed Nov 1, 2018
1 parent 2bb4575 commit 4051359
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/SmartCode.CLI/SmartCode.CLI.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@
<RepositoryType>Github</RepositoryType>
<PackageTags>SmartCode SmartSql</PackageTags>
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
<Version>1.16.10</Version>
<Version>1.16.12</Version>
<PackageIconUrl>https://raw.githubusercontent.com/Ahoo-Wang/SmartCode/master/doc/Logo.png</PackageIconUrl>
<PackageReleaseNotes>fix PkIsNumeric</PackageReleaseNotes>
<PackageReleaseNotes>fix Ignore system tables by is_ms_shipped</PackageReleaseNotes>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.Extensions.Configuration" Version="2.1.1" />
Expand Down
2 changes: 1 addition & 1 deletion src/SmartCode.Generator/Maps/Database-SqlServer.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
EPObj.value As [Description]
From Sys.Objects Obj
Left Join Sys.Extended_Properties EPObj On EPObj.major_id=Obj.object_id And EPObj.minor_id=0 And EPObj.name='MS_Description'
Where Obj.type In('U','V') And Obj.is_published=1
Where Obj.type In('U','V') And Obj.is_ms_shipped=0
</Statement>
<Statement Id="QueryColumn">
Select Col.column_id As Id
Expand Down

0 comments on commit 4051359

Please sign in to comment.