The EntitySpaces Community

Share and learn about the EntitySpaces Architecture.
Welcome to The EntitySpaces Community Sign in | Join | Help
in
Home Forums Photos

Save Record in Through Entity Space i got the Error

Last post 11-05-2007, 9:11 AM by David.Parsons. 2 replies.
Sort Posts: Previous Next
  •  11-05-2007, 7:53 AM 6347

    Save Record in Through Entity Space i got the Error

    Load the Data through LoadbyprimaryKey() then save the Data. I get the following error on

    System.Data.SQLClient.SqlException: Incorrect syntax near 'TSEQUAL'
    at EntitySpaces.Core.esEntityCollection.SaveToProviserInsertsUpdates(esSqlAccessType sqlAccessType)
    at EntitySpaces.Core.esEntityCollection.SaveToProvider(esSqlAccessType sqlAccessType)
    at EntitySpaces.Core.esEntityCollection.Save(esSqlAccessType sqlAccessType)
    at EntitySpaces.Core.esEntityCollection.Save()
    at Frm_Patient.Save()

    I am doing windows application.

    Please provide the solution for that.

     

  •  11-05-2007, 9:03 AM 6348 in reply to 6347

    Re: Save Record in Through Entity Space i got the Error

    We'll need to know what version of ES you are on and what version of SQL server you are using. Also, please post the code that leads up to the error. The last icon on the right will format your source code.
    David Neal Parsons
    www.entityspaces.net
  •  11-05-2007, 9:11 AM 6349 in reply to 6348

    Re: Save Record in Through Entity Space i got the Error

    Some quick possibilities:

    If you are using stored procedures, there is a check box on the template if you are targeting SQL Server 2005.

    See the "Getting Started" config section. This line must match "2000" or "2005".

    Code:
    databaseVersion="2005"

    David Neal Parsons
    www.entityspaces.net
View as RSS news feed in XML