Error in insert data

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for PostgreSQL
Post Reply
Posts: 1
Joined: Thu 20 Nov 2008 01:56

Error in insert data

Post by Deco » Thu 20 Nov 2008 02:05

Hello, I am on the studying dotconnect is Postgres and Linq. Download the trial version for testing and wrote the following code (is horrible):

Code: Select all

private void button1_Click(object sender, EventArgs e)
            estudoLinqDataContext.estudoLinqDataContext estudo = new estudoLinqDataContext.estudoLinqDataContext();
            var objCliente = new estudoLinqDataContext.cliente()
                 Cli_nome = textBox1.Text
it only gives me the following error:
Can't perform Create, Update or Delete operations on 'Table(cliente)' because it is read-only
I looked almost all of this forum and not found anything similar to my problem.

Tank's for Help.

Devart Team
Posts: 2919
Joined: Mon 07 Jul 2008 13:16

Post by AndreyR » Thu 20 Nov 2008 10:38

Could you please send us by e-mail (support * devart * com, copy to andreyr * devart * com) the script of your test DB and the generated DBML file with the underlying code file?

Post Reply