-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2,210 changed files
with
100,962 additions
and
1,872 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
60 changes: 60 additions & 0 deletions
60
...Tests.Linq.InheritanceTests.Issue4460Test_MustFindRecord(Access.Ace.Odbc.LinqService).sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
BeforeExecute | ||
-- Access.Ace.Odbc AccessODBC | ||
|
||
DROP TABLE [Issue4460Table] | ||
|
||
BeforeExecute | ||
-- Access.Ace.Odbc AccessODBC | ||
|
||
CREATE TABLE [Issue4460Table] | ||
( | ||
[Id] Int NOT NULL, | ||
[Code] NVarChar(255) NULL, | ||
[Name] NVarChar(255) NULL, | ||
[Surname] NVarChar(255) NULL | ||
) | ||
|
||
BeforeExecute | ||
-- Access.Ace.Odbc AccessODBC | ||
DECLARE @Id Int -- Int32 | ||
SET @Id = 1 | ||
DECLARE @Code NVarChar(10) -- String | ||
SET @Code = 'GrandChild' | ||
DECLARE @Name NVarChar(3) -- String | ||
SET @Name = 'Tom' | ||
DECLARE @Surname NVarChar(5) -- String | ||
SET @Surname = 'Black' | ||
|
||
INSERT INTO [Issue4460Table] | ||
( | ||
[Id], | ||
[Code], | ||
[Name], | ||
[Surname] | ||
) | ||
VALUES | ||
( | ||
?, | ||
?, | ||
?, | ||
? | ||
) | ||
|
||
BeforeExecute | ||
-- Access.Ace.Odbc AccessODBC | ||
|
||
SELECT | ||
[t1].[Code], | ||
[t1].[Id], | ||
[t1].[Name], | ||
[t1].[Surname] | ||
FROM | ||
[Issue4460Table] [t1] | ||
WHERE | ||
[t1].[Code] = 'GrandChild' | ||
|
||
BeforeExecute | ||
-- Access.Ace.Odbc AccessODBC | ||
|
||
DROP TABLE [Issue4460Table] | ||
|
58 changes: 58 additions & 0 deletions
58
...nq.InheritanceTests.Issue4460Test_MustTypeResultProperly(Access.Ace.Odbc.LinqService).sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
BeforeExecute | ||
-- Access.Ace.Odbc AccessODBC | ||
|
||
DROP TABLE [Issue4460Table] | ||
|
||
BeforeExecute | ||
-- Access.Ace.Odbc AccessODBC | ||
|
||
CREATE TABLE [Issue4460Table] | ||
( | ||
[Id] Int NOT NULL, | ||
[Code] NVarChar(255) NULL, | ||
[Name] NVarChar(255) NULL, | ||
[Surname] NVarChar(255) NULL | ||
) | ||
|
||
BeforeExecute | ||
-- Access.Ace.Odbc AccessODBC | ||
DECLARE @Id Int -- Int32 | ||
SET @Id = 1 | ||
DECLARE @Code NVarChar(10) -- String | ||
SET @Code = 'GrandChild' | ||
DECLARE @Name NVarChar(3) -- String | ||
SET @Name = 'Tom' | ||
DECLARE @Surname NVarChar(5) -- String | ||
SET @Surname = 'Black' | ||
|
||
INSERT INTO [Issue4460Table] | ||
( | ||
[Id], | ||
[Code], | ||
[Name], | ||
[Surname] | ||
) | ||
VALUES | ||
( | ||
?, | ||
?, | ||
?, | ||
? | ||
) | ||
|
||
BeforeExecute | ||
-- Access.Ace.Odbc AccessODBC | ||
|
||
SELECT | ||
[t1].[Code], | ||
[t1].[Id], | ||
[t1].[Name], | ||
[t1].[Surname] | ||
FROM | ||
[Issue4460Table] [t1] | ||
|
||
BeforeExecute | ||
-- Access.Ace.Odbc AccessODBC | ||
|
||
DROP TABLE [Issue4460Table] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,5 +7,5 @@ SELECT | |
FROM | ||
[Parent] [p] | ||
WHERE | ||
[p].[Value1] = 1 OR [p].[Value1] = 2 | ||
[p].[Value1] = 2 OR [p].[Value1] = 1 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,5 +7,5 @@ SELECT | |
FROM | ||
[Parent] [p] | ||
WHERE | ||
[p].[Value1] = 1 OR [p].[Value1] = 2 | ||
[p].[Value1] = 2 OR [p].[Value1] = 1 | ||
|
190 changes: 190 additions & 0 deletions
190
...ceTests.TestFullTreeSelectionWithoutDefaultDiscriminator(Access.Ace.Odbc.LinqService).sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,190 @@ | ||
BeforeExecute | ||
-- Access.Ace.Odbc AccessODBC | ||
|
||
DROP TABLE [InheritanceFilter] | ||
|
||
BeforeExecute | ||
-- Access.Ace.Odbc AccessODBC | ||
|
||
CREATE TABLE [InheritanceFilter] | ||
( | ||
[Id] Int NOT NULL, | ||
[Code] Int NOT NULL, | ||
[Child1Field] Int NULL, | ||
[Child2Field] Int NULL, | ||
[Grandchild11Field] Int NULL, | ||
[Grandchild12Field] Int NULL, | ||
[Grandchild21Field] Int NULL, | ||
[Grandchild22Field] Int NULL, | ||
|
||
CONSTRAINT [PK_InheritanceFilter] PRIMARY KEY CLUSTERED ([Id]) | ||
) | ||
|
||
BeforeExecute | ||
-- Access.Ace.Odbc AccessODBC | ||
DECLARE @Id Int -- Int32 | ||
SET @Id = 1 | ||
DECLARE @Code Int -- Int32 | ||
SET @Code = 1 | ||
DECLARE @Child1Field Int -- Int32 | ||
SET @Child1Field = 11 | ||
|
||
INSERT INTO [InheritanceFilter] | ||
( | ||
[Id], | ||
[Code], | ||
[Child1Field] | ||
) | ||
VALUES | ||
( | ||
?, | ||
?, | ||
? | ||
) | ||
|
||
BeforeExecute | ||
-- Access.Ace.Odbc AccessODBC | ||
DECLARE @Id Int -- Int32 | ||
SET @Id = 2 | ||
DECLARE @Code Int -- Int32 | ||
SET @Code = 2 | ||
DECLARE @Child2Field Int -- Int32 | ||
SET @Child2Field = 12 | ||
|
||
INSERT INTO [InheritanceFilter] | ||
( | ||
[Id], | ||
[Code], | ||
[Child2Field] | ||
) | ||
VALUES | ||
( | ||
?, | ||
?, | ||
? | ||
) | ||
|
||
BeforeExecute | ||
-- Access.Ace.Odbc AccessODBC | ||
DECLARE @Id Int -- Int32 | ||
SET @Id = 3 | ||
DECLARE @Code Int -- Int32 | ||
SET @Code = 11 | ||
DECLARE @Child1Field Int -- Int32 | ||
SET @Child1Field = 23 | ||
DECLARE @Grandchild11Field Int -- Int32 | ||
SET @Grandchild11Field = 13 | ||
|
||
INSERT INTO [InheritanceFilter] | ||
( | ||
[Id], | ||
[Code], | ||
[Child1Field], | ||
[Grandchild11Field] | ||
) | ||
VALUES | ||
( | ||
?, | ||
?, | ||
?, | ||
? | ||
) | ||
|
||
BeforeExecute | ||
-- Access.Ace.Odbc AccessODBC | ||
DECLARE @Id Int -- Int32 | ||
SET @Id = 4 | ||
DECLARE @Code Int -- Int32 | ||
SET @Code = 12 | ||
DECLARE @Child1Field Int -- Int32 | ||
SET @Child1Field = 24 | ||
DECLARE @Grandchild12Field Int -- Int32 | ||
SET @Grandchild12Field = 14 | ||
|
||
INSERT INTO [InheritanceFilter] | ||
( | ||
[Id], | ||
[Code], | ||
[Child1Field], | ||
[Grandchild12Field] | ||
) | ||
VALUES | ||
( | ||
?, | ||
?, | ||
?, | ||
? | ||
) | ||
|
||
BeforeExecute | ||
-- Access.Ace.Odbc AccessODBC | ||
DECLARE @Id Int -- Int32 | ||
SET @Id = 5 | ||
DECLARE @Code Int -- Int32 | ||
SET @Code = 21 | ||
DECLARE @Child2Field Int -- Int32 | ||
SET @Child2Field = 25 | ||
DECLARE @Grandchild21Field Int -- Int32 | ||
SET @Grandchild21Field = 15 | ||
|
||
INSERT INTO [InheritanceFilter] | ||
( | ||
[Id], | ||
[Code], | ||
[Child2Field], | ||
[Grandchild21Field] | ||
) | ||
VALUES | ||
( | ||
?, | ||
?, | ||
?, | ||
? | ||
) | ||
|
||
BeforeExecute | ||
-- Access.Ace.Odbc AccessODBC | ||
DECLARE @Id Int -- Int32 | ||
SET @Id = 6 | ||
DECLARE @Code Int -- Int32 | ||
SET @Code = 22 | ||
DECLARE @Child2Field Int -- Int32 | ||
SET @Child2Field = 26 | ||
DECLARE @Grandchild22Field Int -- Int32 | ||
SET @Grandchild22Field = 16 | ||
|
||
INSERT INTO [InheritanceFilter] | ||
( | ||
[Id], | ||
[Code], | ||
[Child2Field], | ||
[Grandchild22Field] | ||
) | ||
VALUES | ||
( | ||
?, | ||
?, | ||
?, | ||
? | ||
) | ||
|
||
BeforeExecute | ||
-- Access.Ace.Odbc AccessODBC | ||
|
||
SELECT | ||
[t1].[Code], | ||
[t1].[Id], | ||
[t1].[Child1Field], | ||
[t1].[Child2Field], | ||
[t1].[Grandchild11Field], | ||
[t1].[Grandchild12Field], | ||
[t1].[Grandchild21Field], | ||
[t1].[Grandchild22Field] | ||
FROM | ||
[InheritanceFilter] [t1] | ||
|
||
BeforeExecute | ||
-- Access.Ace.Odbc AccessODBC | ||
|
||
DROP TABLE [InheritanceFilter] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,5 +7,5 @@ SELECT | |
FROM | ||
[Parent] [x] | ||
WHERE | ||
[x].[Value1] = 1 OR [x].[Value1] = 2 | ||
[x].[Value1] = 2 OR [x].[Value1] = 1 | ||
|
Oops, something went wrong.