locked
Add fields in the designer of EF RRS feed

  • Question

  • I add a field in a table in the designer of EF in VS 2010 and this field is a computed field and it is not a physical field of the database.

    This field is the result of multiply the values of two fields of the same table.

    How I can make the mappings at this field

    Thanks in advance


    Entusiast programmer
    Saturday, August 14, 2010 3:32 PM

Answers

  • You can just create a partial class of the same name and add a computed property there. You won't get designer support though.

    The following is signature, not part of post
    Please mark the post answered your question as the answer, and mark other helpful posts as helpful, so they will appear differently to other users who are visiting your thread for the same problem.
    Visual C++ MVP
    Saturday, August 14, 2010 8:58 PM