About

Alex Sarafian is a .NET developer from Greece.


6 comments

  1. Hi Alex,

    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[0].ExtraInfo = “New value”; //this is updated ok.
    var newrow = ds.SubRootElement.NewSubRootElementRow();
    newrow.Name = “SubRoot2”;
    newrow.RootElementRow = ds.RootElement[0];
    ds.SubRootElement.AddSubRootElementRow(newrow); //after the save, the value is not inserted into the database
    db.SaveDs(ds);

    I would be more than happy to hear from you soon.

    Thanks allot,
    Michael

  2. Michael Hello
    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.

    Sorry.

  3. Hey
    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.
    THX

  4. 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.

  5. 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.
    Thanks

  6. 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.


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s