New Posts New Posts RSS Feed: Query exception
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login

Query exception

 Post Reply Post Reply
Author
hfeijt View Drop Down
Newbie
Newbie
Avatar

Joined: 08-Sep-2007
Location: Netherlands
Posts: 1
Post Options Post Options   Quote hfeijt Quote  Post ReplyReply Direct Link To This Post Topic: Query exception
    Posted: 08-Sep-2007 at 5:14am
Hello,
I'm a newbee to IdeaBlade and downloaded the express edition. I have generated a model from an Access database. Generation went well and connection is correct.
 
To test IdeaBlade I created a small WinForms application to show all the entities in a datagrid.
But I get an exception:
 
"Query contains syntax error. A query component is incomplete".
 
Below the code snippet of the code:
 

[DataObject]

public class DataService : IDataService

{

  private PersistenceManager _persistenceManager;

  protected PersistenceManager PersistenceManager

  {

    get

    {

       if (_persistenceManager == null)

{

_persistenceManager = new PersistenceManager();

}

return _persistenceManager;

}

}

public DataService()

{

PersistenceManager.Connect();

}

[DataObjectMethod(DataObjectMethodType.Select, true)]

public EntityList<Book> GetBooks()

{

EntityList<Book> result = null;

try

{

result = PersistenceManager.GetEntities<Book>();

}

catch (PersistenceServerException exc)

{

System.Windows.Forms.MessageBox.Show(exc.Message);

}

return result;

}

}



Edited by hfeijt - 18-Oct-2007 at 1:32am
Back to Top
davidklitzke View Drop Down
IdeaBlade
IdeaBlade
Avatar

Joined: 14-Jun-2007
Posts: 715
Post Options Post Options   Quote davidklitzke Quote  Post ReplyReply Direct Link To This Post Posted: 10-Sep-2007 at 9:37am
DevForce does not currently support the Access database.
Back to Top
dbdemigod View Drop Down
Newbie
Newbie
Avatar

Joined: 21-Sep-2007
Location: United States
Posts: 1
Post Options Post Options   Quote dbdemigod Quote  Post ReplyReply Direct Link To This Post Posted: 21-Sep-2007 at 1:03pm
Is there a timeline for Access support? I have a small data entry app that will end up on SQL Server, but not for a year or so... thank.
Back to Top
davidklitzke View Drop Down
IdeaBlade
IdeaBlade
Avatar

Joined: 14-Jun-2007
Posts: 715
Post Options Post Options   Quote davidklitzke Quote  Post ReplyReply Direct Link To This Post Posted: 21-Sep-2007 at 2:45pm
There is no timeline.
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down