none
Error when refreshing entities RRS feed

  • Question

  • Hi,

     

    The following piece of code throws an error when run

     

    Code Snippet
                    _DataContext cd = DataContext.GetHandle();
                    List<Cartons> c = cd.GetTable<Cartons>().ToList<Cartons>();
                    c[0].UCC128Code = "2111111";
                    cd.Refresh(System.Data.Linq.RefreshMode.OverwriteCurrentValues, c);

     

    error is when calling the refresh method. - The type 'Business.Objects.Cartons' is not mapped as a Table.

    but submit changes goes thru..

     

    Thanks for ur time in advance..

     

    Gautham

    Monday, September 1, 2008 12:36 PM

Answers

All replies