none
Problem with database , code , and entityframework RRS feed

  • Pregunta

  • When I make any changes to my code, my database returns to the initial state. Insert three rows in some table, when i change some code, this data, are deleted. I do not write delete queries yet. I am using  entity  framework, maybe this update  my database, help me, please.
    lunes, 26 de junio de 2017 14:49

Respuestas

  • Hello, there:

    Be sure you're not using Code First approach with EntityFramework.

    Follow next link:

    http://www.entityframeworktutorial.net/code-first/what-is-code-first.aspx

    Hope this helps.

    JOSE LUIS


    Dios NO los llamo LAS DIEZ RECOMENDACIONES

    lunes, 26 de junio de 2017 17:12

Todas las respuestas

  • hi

    This is a Spanish forum, Could you ask the question in Spanish?

    thanks


    Leandro Tuttini

    Blog
    MVP Profile
    Buenos Aires
    Argentina

    lunes, 26 de junio de 2017 16:58
  • Hello, there:

    Be sure you're not using Code First approach with EntityFramework.

    Follow next link:

    http://www.entityframeworktutorial.net/code-first/what-is-code-first.aspx

    Hope this helps.

    JOSE LUIS


    Dios NO los llamo LAS DIEZ RECOMENDACIONES

    lunes, 26 de junio de 2017 17:12
  • Thank you. 

    Hello, there:

    Be sure you're not using Code First approach with EntityFramework.

    Follow next link:

    http://www.entityframeworktutorial.net/code-first/what-is-code-first.aspx

    Hope this helps.

    JOSE LUIS


    Dios NO los llamo LAS DIEZ RECOMENDACIONES



    Carlos H.

    miércoles, 28 de junio de 2017 12:16