Alex Sarafian is a .NET developer from Greece.
I’ve enjoyed testing your solution for the Typed Data Set LINQ Entities scenario. It works for updates and deletes, but I have a problem getting it to work for inserts.
//this is the code that I’m using for the test
var db = new LinqTestService();
DsLinqTest ds = db.GetDsFromID(2);
ds.RootElement.ExtraInfo = “New value”; //this is updated ok.
var newrow = ds.SubRootElement.NewSubRootElementRow();
newrow.Name = “SubRoot2”;
newrow.RootElementRow = ds.RootElement;
ds.SubRootElement.AddSubRootElementRow(newrow); //after the save, the value is not inserted into the database
I would be more than happy to hear from you soon.
Unfortunately there has so much time since I have used this library because we don’t use it.
I would really like to help you as soon as possible but due to workload, I can’t promise you anything.
But if you find anything please, inform me.
Thank you in advance.
I have looked to your article: Typed Dataset Linq Entities. And found it very cool – So is there any kind of source code you could provide, to use the same idea in my project? – The link on the site is broken and so, I hope you can give me some help.
Harald I’m guessing you are talking about my article on codeproject?
I clicked the link on the source and it worked.
Anyway anyone who needs my comments about that article can comment on the article on codeproject it self
Thank you all.
I see you’ve tackled the problem of getting Validation Errors in various languages. I was wondering how you did it and if you could provide some insight.
Yes I did.
Its fairly simple.
All multilanguage application basically have a dictionary with keys and literals.
You always ask for the literals through a key, and behind the scenes the appropriate literal is returned.
If you provide some structure for the keys, then keys can be generated automatically, so can bind a validator with a response error message.
Fill in your details below or click an icon to log in:
You are commenting using your WordPress.com account. ( Log Out / Change )
You are commenting using your Twitter account. ( Log Out / Change )
You are commenting using your Facebook account. ( Log Out / Change )
You are commenting using your Google+ account. ( Log Out / Change )
Connecting to %s
Notify me of new comments via email.