Error in insert data

Error in insert data

Postby 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.
Posts: 1
Joined: Thu 20 Nov 2008 01:56

Postby 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?
Devart Team
Posts: 2919
Joined: Mon 07 Jul 2008 13:16

Return to dotConnect for PostgreSQL