This question is locked. New answers and comments are not allowed.
Here is the line of code I get the exception on:
Here is the exception I get:
Error executing query: Telerik.OpenAccess.RT.sql.SQLException: Invalid column name 'UserId'.
Statement(s) could not be prepared.
at Telerik.OpenAccess.RT.Adonet2Generic.Impl.PreparedStatementImp.executeQuery()
at OpenAccessRuntime.Relational.conn.PooledPreparedStatement.executeQuery()
at OpenAccessRuntime.Relational.fetch.FetchResultImp.Execute()
SQL:
SELECT TOP(??T) a.[AssetId] AS COL1, a.[EmailAddress] AS COL2, a.[FirstName] AS COL3, a.[LastName] AS COL4, a.[OrganizationId] AS COL5, a.[OrganizationId] AS COL6, a.[UserId] AS COL7, b.[AssetId] AS COL8, b.[Class] AS COL9, b.[CreationDate] AS COL10, b.[Deleted] AS COL11, b.[DeletionDate] AS COL12, b.[AssetId] AS COL13 FROM [Users] a JOIN [Assets] AS b ON (a.[AssetId] = b.[AssetId]) WHERE a.[EmailAddress] = ? Telerik.OpenAccess.RT.sql.SQLException: Invalid column name 'UserId'.
Statement(s) could not be prepared.
at Telerik.OpenAccess.RT.Adonet2Generic.Impl.PreparedStatementImp.executeQuery()
at OpenAccessRuntime.Relational.conn.PooledPreparedStatement.executeQuery()
at OpenAccessRuntime.Relational.fetch.FetchResultImp.Execute()
Here is a link to a zip file of the RLinq file and associated generated files.
https://s3.amazonaws.com/SolidCloud-software/SolidCloud/Model20120627.zip
That column exists in a related table, but not the users table. Everything worked fine in the previous release. Any suggestions would be appreciated.
User user = voContext.Users.Where(u => u.EmailAddress == emailAddress).FirstOrDefault();
Here is the exception I get:
Error executing query: Telerik.OpenAccess.RT.sql.SQLException: Invalid column name 'UserId'.
Statement(s) could not be prepared.
at Telerik.OpenAccess.RT.Adonet2Generic.Impl.PreparedStatementImp.executeQuery()
at OpenAccessRuntime.Relational.conn.PooledPreparedStatement.executeQuery()
at OpenAccessRuntime.Relational.fetch.FetchResultImp.Execute()
SQL:
SELECT TOP(??T) a.[AssetId] AS COL1, a.[EmailAddress] AS COL2, a.[FirstName] AS COL3, a.[LastName] AS COL4, a.[OrganizationId] AS COL5, a.[OrganizationId] AS COL6, a.[UserId] AS COL7, b.[AssetId] AS COL8, b.[Class] AS COL9, b.[CreationDate] AS COL10, b.[Deleted] AS COL11, b.[DeletionDate] AS COL12, b.[AssetId] AS COL13 FROM [Users] a JOIN [Assets] AS b ON (a.[AssetId] = b.[AssetId]) WHERE a.[EmailAddress] = ? Telerik.OpenAccess.RT.sql.SQLException: Invalid column name 'UserId'.
Statement(s) could not be prepared.
at Telerik.OpenAccess.RT.Adonet2Generic.Impl.PreparedStatementImp.executeQuery()
at OpenAccessRuntime.Relational.conn.PooledPreparedStatement.executeQuery()
at OpenAccessRuntime.Relational.fetch.FetchResultImp.Execute()
Here is a link to a zip file of the RLinq file and associated generated files.
https://s3.amazonaws.com/SolidCloud-software/SolidCloud/Model20120627.zip
That column exists in a related table, but not the users table. Everything worked fine in the previous release. Any suggestions would be appreciated.