I have a website project and using Linq to SQL in it. I currently have my .dbml file in the App_Code directory, but I want to split it into another project in order to compile it into a separate dll; is it possible?
I tried to add a database project to my solution, but it was out of luck.
Yes it is possible.
Just create a new project such as a class library and copy and paste your .dbml into a new project. Add a link to the new project (class library) in your web project at the end.
, - SQL-, .
Source: https://habr.com/ru/post/1705495/More articles:How to scan feed - atom-feedIn WPF: What is the best way to create toolbar buttons so that the images are scaled correctly? - user-interfacehttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1705492/what-are-the-good-criteria-for-committing-changes-to-repository&usg=ALkJrhhWEATfVQe3rchQ4yaC7GiclI8RMADisappearing Icons in WPF - resourcesDisplay underlined text using php GD library - phpHow to create an object in UserControl.Resources? - xamlJavascript: всплывающее окно с фильмом из изображений в главном окне - javascriptCall using a GSM modem - vb.netIs it possible to declare and use an anonymous function in one expression? - c #Encapsulate a database connection in business objects or not? - designAll Articles