Quantcast
Channel: Asp.net access the Data Access via WCF
Viewing all articles
Browse latest Browse all 3

Re: Asp.net access the Data Access via WCF

$
0
0

ValentinoLokesh

In DAL I will call the SaveChanges.

But the Values are getting updated nor inserted.

To create new record 

entity.TableName.AddObject(objectBeingInserted);
entity.SaveChanges();

To update existing record

entity.TableName.ApplyCurrentValues(recordBeingUpdated);
entity.SaveChanges();

Refer Using the Entity Framework in n-Tier ASP.NET Applications

When the issue is still NOT resolved, post your source here for further help.



Viewing all articles
Browse latest Browse all 3

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>