Skip to content

Commit

Permalink
Code cleanup.
Browse files Browse the repository at this point in the history
  • Loading branch information
igor-tkachev committed May 2, 2013
1 parent 7428cf8 commit 3b0f4ca
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
14 changes: 11 additions & 3 deletions Data/Create Scripts/Firebird2.sql
Expand Up @@ -22,6 +22,8 @@ DROP GENERATOR DataTypeID; COMMIT;
DROP GENERATOR PersonID; COMMIT;
DROP GENERATOR TimestampGen; COMMIT;

DROP VIEW PersonView; COMMIT;

DROP TABLE Dual; COMMIT;
DROP TABLE DataTypeTest; COMMIT;
DROP TABLE BinaryData; COMMIT;
Expand Down Expand Up @@ -527,9 +529,9 @@ DROP TABLE Parent COMMIT;
DROP TABLE Child COMMIT;
DROP TABLE GrandChild COMMIT;

CREATE TABLE Parent (ParentID int, Value1 int) COMMIT;
CREATE TABLE Child (ParentID int, ChildID int) COMMIT;
CREATE TABLE GrandChild (ParentID int, ChildID int, GrandChildID int) COMMIT;
CREATE TABLE Parent (ParentID int, Value1 int) COMMIT;
CREATE TABLE Child (ParentID int, ChildID int) COMMIT;
CREATE TABLE GrandChild (ParentID int, ChildID int, GrandChildID int) COMMIT;


DROP TABLE LinqDataTypes COMMIT;
Expand Down Expand Up @@ -588,3 +590,9 @@ AS BEGIN
NEW.ID = GEN_ID(TestIdentityID, 1);
END
COMMIT;


CREATE VIEW PersonView
AS
SELECT * FROM Person
COMMIT;
2 changes: 1 addition & 1 deletion Source/Data/Linq/Builder/ExpressionBuilder.cs
Expand Up @@ -97,7 +97,7 @@ public static void AddBuilder(ISequenceBuilder builder)
OriginalExpression = expression;

_visitedExpressions = new HashSet<Expression>();
Expression = ConvertExpressionTree(expression);
Expression = ConvertExpressionTree(expression);
_visitedExpressions = null;
}

Expand Down

0 comments on commit 3b0f4ca

Please sign in to comment.