LINQ to SQL external mapping

后端 未结 2 1617
走了就别回头了
走了就别回头了 2021-01-14 02:06

I don\'t know how to set up external mapping file for LINQ to SQL. I\'ve read Ivan Latunov\'s blog post about it and it woke up my interest in it. The problem is that I don\

相关标签:
2条回答
  • 2021-01-14 02:20

    look into the SQLMetal utility (found by opening up a Visual Studio Command Prompt and typing the command in).

    I think this allows you to just create maps either from databases or from pre-existing dbml files


    After your first comment, I believe that this article is probably slightly closer to what you are looking for. It shows you how to load a custom mapping file at runtime

    0 讨论(0)
  • 2021-01-14 02:25
    • Linq to SQL - Mapping Tables to Objects
    • LINQ to SQL external mapping file
    • Mapping options in LINQ to SQL
    • Being Ignorant with LINQ to SQL
    • How to: Generate the Object Model as an External File
    • External Mapping
    • ASP.NET MVC Tip #23 – Use POCO LINQ to SQL Entities
    • Linq to SQL Xml Based Mapping
    • Using LINQ to SQL XML Mapping Files - Step by Step
    0 讨论(0)
提交回复
热议问题