You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Replace the column names (only present in SQL Server 2016 or later) with literal constants so the query works with older versions of SQL Server.
2691
+
sql = sql
2690
2692
.Replace("[sc].[generated_always_type]", "0" )
2691
2693
.Replace("[c].[generated_always_type]", "0" )
2692
2694
.Replace("[st].[temporal_type]", "0" );
2693
2695
}
2694
2696
2697
+
return sql;
2698
+
}
2699
+
2700
+
public override Tables ReadSchema()
2701
+
{
2702
+
var result = new Tables();
2703
+
if (Cmd == null)
2704
+
return result;
2705
+
2706
+
Cmd.CommandText = this.GetReadSchemaSql();
2707
+
2708
+
if (!Settings.IsSqlCe) Cmd.CommandTimeout = Settings.CommandTimeout;
2709
+
2695
2710
using(var rdr = Cmd.ExecuteReader())
2696
2711
{
2697
2712
var rxClean = new Regex("^(event|Equals|GetHashCode|GetType|ToString|repo|Save|IsNew|Insert|Update|Delete|Exists|SingleOrDefault|Single|First|FirstOrDefault|Fetch|Page|Query)$");
@@ -2713,12 +2728,15 @@ SELECT SERVERPROPERTY('Edition') AS Edition,
0 commit comments