Creating a LINK-to-SQL datalayer

I usually use Codesmith and NetTiers for my datalayers, and since they can be run from the command line, for ease of restyling / rebuilding everything, a simple batch file is required when changes are made to the database.

Now I am looking for LINQ-to-SQL, but I do not find the WYSIWYG object constructor more convenient. What other methods are available for generating LINQ to SQL classes? Does anyone have experience using SQLMetal?

Thanks.

+3
source share
1 answer

SQLMetal . LINQ, , , , datamodel , dbml.

LINQ-to-SQL, :

sqlmetal /code:YourCodeFile.designer.cs /namespace:Desired.Namespace YourModel.dbml

SQLMetal . , , .

+3

Source: https://habr.com/ru/post/1703759/


All Articles