Skip to content

Commit 31b3920

Browse files
adjust with precision and scale on sql engine types
1 parent c6f50cd commit 31b3920

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

paket.dependencies

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ group Test
3535
source https://www.nuget.org/api/v2/
3636
framework: net461, netcoreapp2.0
3737

38-
nuget FSharp.Core = 4.5.2
38+
nuget FSharp.Core = 4.5.2 redirects:force
3939
nuget System.Data.SqlClient
4040
nuget System.Configuration.ConfigurationManager
4141

paket.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ GROUP Test
162162
RESTRICTION: || (== net461) (== netcoreapp2.0)
163163
NUGET
164164
remote: https://www.nuget.org/api/v2
165-
FSharp.Core (4.5.2)
165+
FSharp.Core (4.5.2) - redirects: force
166166
Microsoft.CodeCoverage (15.9) - restriction: || (&& (== net461) (>= netcoreapp1.0)) (== netcoreapp2.0)
167167
Microsoft.DotNet.PlatformAbstractions (2.1) - restriction: || (&& (== net461) (>= netcoreapp1.0)) (== netcoreapp2.0)
168168
System.AppContext (>= 4.1) - restriction: || (&& (== net461) (< net45)) (== netcoreapp2.0)

src/SqlClient.DesignTime/SqlClientExtensions.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -515,7 +515,7 @@ type SqlConnection with
515515
let sqlEngineTypes, tableVariableTypes =
516516
use cmd = new SqlCommand("""
517517
select
518-
t.name, t.system_type_id, t.user_type_id, t.is_table_type, s.name as schema_name, t.is_user_defined
518+
t.name, t.system_type_id, t.user_type_id, t.is_table_type, s.name as schema_name, t.is_user_defined, t.[precision], t.scale
519519
from
520520
sys.types as t
521521
join sys.schemas as s on t.schema_id = s.schema_id

0 commit comments

Comments
 (0)