1. Which version is this?
2. How did you create the Tooling type? Presumably with DbMetal, but
specifically did you pass a /provider option?
2.b: If you view the source to Tooling, does the Tooling(IDbConnection)
constructor use DbLinq.Sqlite.SqliteVendor?
3. What is the full stack trace to the error?
Thanks,
- Jon
On Tue, 2009-10-27 at 14:59 -0700, Aaron Peterson wrote:
> I am doing some testing with DBLinq and SQLite. I want to test a few
> commands to see how well it all performs.
>
> I am stuck on my first test app though.
>
> Please can someone tell me what I am doing wrong?
>
> string connStr = "Data Source=c:\\Individual Project\
> \Tooling.db3;Version = 3;";
> Tooling tool = new Tooling(new XSqlConnection(connStr));
> Sanders insertSander = new Sanders();
> insertSander.OverallDiam = 2;
> insertSander.Height = 1;
> if(tool.DatabaseExists())
> {
> tool.Sanders.InsertOnSubmit(insertSander);
> tool.SubmitChanges();
> }
>
> I get an error :Object already attached.
>
> Please help.
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"DbLinq" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/dblinq?hl=en
-~----------~----~----~----~------~----~------~--~---