Skip to content
This repository was archived by the owner on Dec 24, 2022. It is now read-only.

Commit 1f982d1

Browse files
committed
Prevent generating hidden outputs
1 parent 7d50afa commit 1f982d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/T4/OrmLite.Core.ttinclude

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -992,7 +992,7 @@ class SqlServerSchemaReader : SchemaReader
992992
using (var cmd=_factory.CreateCommand())
993993
{
994994
cmd.Connection=_connection;
995-
cmd.CommandText=string.Format(@"SELECT name,CAST(is_nullable as VARCHAR(1)) is_nullable,system_type_name FROM sys.dm_exec_describe_first_result_set_for_object(OBJECT_ID('{0}'), 1)",sp.SchemaQualifiedName);
995+
cmd.CommandText=string.Format(@"SELECT name,CAST(is_nullable as VARCHAR(1)) is_nullable,system_type_name FROM sys.dm_exec_describe_first_result_set_for_object(OBJECT_ID('{0}'), 1) WHERE is_hidden = 1",sp.SchemaQualifiedName);
996996
using (IDataReader rdr=cmd.ExecuteReader())
997997
{
998998
while(rdr.Read())

0 commit comments

Comments
 (0)