AndreyR wrote:Could you please describe the problem?
What exception are you getting?
Could you please post a code sample you are using to modify data?
Hello, Since i have the same problem i will provide more details in this issue.
My code is:
Code: Select all
Bimstudentcontext.Bimstudentdatacontext context = new Bimstudentcontext.Bimstudentdatacontext();
Bimstudentcontext.Enumeration en=new Bimstudentcontext.Enumeration();
en.Code = 10;
en.En = "Test";
en.Tr = "ıüğçöş"; // this is some unicode character
context.Enumerations.InsertOnSubmit(en);
context.SubmitChanges();
and the error i get on InsertOnSubmit line is
InvalidOperationException was unhandeled
Can't perform Create, Update or Delete operations on 'Table(Enumeration)' because it is read-only or does not have identity member.
and also when i try to update some record:
Code: Select all
Bimstudentcontext.Bimstudentdatacontext context = new Bimstudentcontext.Bimstudentdatacontext();
var enumerations = from v in context.Enumerations
where v.Code == 2
select v;
foreach (var v in enumerations)
{
if (v.Code == 2)
v.Tr = "TESTING";
}
context.SubmitChanges();
it does not change the database.
I also get ORA-00933 twice on entity developer when using the database reverse engineering wizard.
My oracle version is: 8.1
Please help,
Thanks.