Skip to content

Commit

Permalink
Update SqlServerDatabaseModelFactory.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
yzi2004 authored and ajcvickers committed Jun 21, 2018
1 parent 6bb96cc commit 7b7000d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -913,7 +913,7 @@ FROM [sys].[foreign_keys] AS [f]
JOIN [sys].[tables] AS [t] ON [f].[parent_object_id] = [t].[object_id]
JOIN [sys].[foreign_key_columns] AS [fc] ON [f].[object_id] = [fc].[constraint_object_id]
WHERE " + tableFilter + @"
ORDER BY [table_schema], [table_name], [name], [fc].[constraint_column_id]";
ORDER BY [table_schema], [table_name], [f].[name], [fc].[constraint_column_id]";

using (var reader = command.ExecuteReader())
{
Expand Down

0 comments on commit 7b7000d

Please sign in to comment.