I have for example a table called Client.
Usually in .NET 4 I would do:
dbEntities.Clients.AddObject(myClienteObject);
but in .NET 3.5 I cannot find this method, any suggestions?
I have for example a table called Client.
Usually in .NET 4 I would do:
dbEntities.Clients.AddObject(myClienteObject);
but in .NET 3.5 I cannot find this method, any suggestions?
entities.AddToClients(newClient);
Would do the job I guess? After that you ofcourse call
entities.SaveChanges();