none
Linq to SQL question RRS feed

  • Question

  • I have two tables with the same properties (identical) but obviously it is still considered a different object type. I want to purge old data from table 1 to table 2.

    Right now, I have it working but had to create a couple "conversion" methods to handle converting from one table object to another.

    Is there an easier / more fluid way to handle this?

    Friday, October 15, 2010 9:41 AM

Answers

  • Hi,

    ValueInjector allows yo to copy properties from one object to another one with the same properties automatically.

    Hope this can help you,

    JAReyes.


    Please remember to Vote & "Mark As Answer" if this post is helpful to you.
    Por favor, recuerda Votar y "Marcar como respuesta" si la solucion de esta pregunta te ha sido útil.
    • Marked as answer by liurong luo Thursday, October 21, 2010 9:49 AM
    Friday, October 15, 2010 11:28 AM