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.
SQLMetal . LINQ, , , , datamodel , dbml.
LINQ-to-SQL, :
sqlmetal /code:YourCodeFile.designer.cs /namespace:Desired.Namespace YourModel.dbml
SQLMetal . , , .
Source: https://habr.com/ru/post/1703759/More articles:Render multiline text with Rails? - ruby | fooobar.comThe SQL Server procedure returns multiple tables. Insert results into tables. - sqlSetting up Django with mod_python, Apache on SuSE with an alias - djangoHow can I poll web requests without blocking? - perlLoading the best way to notify a JS script - javascriptWhat is the general alternative to array? - arraysWhat is the best way to create an identifier for SQL insert? - sqljQuery UI Draggable - need to modify an element when dragging and dropping - javascriptHow .NET Framework Versions Support Backward Compatibility - .netПоследствия для условий sql 'OR', когда одна альтернатива тривиальна? - optimizationAll Articles