none
what technologies i will need after add dll as reference to windows form RRS feed

  • Question

  • I have dll files from mvc asp.net web application AND i need to use it in windows form application in

    visual studio 2015 .NET 4.5.2 .

    I add dll files as reference IN windows form application 2015.

    dll files taken from web application working with mvc 5 entity framework 6

    and i need to use dll in windows form application 

    so that what i need in windows form application to implement dll files

    and functions inside it .

    so that when i use dll in windows form application what i will use

    I will use entity framework or .net framework technology .

    use Add new item  - Data- ADO.net entity data model (edmx) or NOT . 

    Tuesday, October 17, 2017 10:32 PM

All replies

  • Hi,

    To be honest, I do not know how to answer your question, since I know nothing about your program, I do not know which dependencies are cited by these DLL files.

    >> use Add new item - Data- ADO.net entity data model (edmx) or NOT . 

    It depends on whether you use the database first or the code first.

    If your DLL is data access layer  which use code first , you do not have to create it.

    If your DLL is not data access layer and you have a database , you can use database first to create edmx.

    Best Regards,

    Bob


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Wednesday, October 18, 2017 10:38 AM
  • Just add MVC dll without adding edmx file. The entity files generated by tt are autamically compiled into MVC dll.
    Wednesday, October 18, 2017 12:37 PM