About 324,000 results
Open links in new tab
  1. c# - Generate class from database table - Stack Overflow

    Use the provided .sql template to develop your queries. When you save the file, Query-first runs your query, retrieves the schema and generates two classes and an interface: a wrapper class …

  2. How can I generate database tables from C# classes?

    Oct 3, 2016 · However, instead of constructing DDL statements as strings, you should definitely use the SQL Server Management Objects classes introduced with SQL 2005. David Hayden …

  3. Is there a list of exception error class values and what they mean ...

    Feb 23, 2012 · A severity of 14 can mean a lot of things: SELECT message_id, [text] FROM sys.messages WHERE language_id = 1033 AND severity = 14;

  4. sql server 2008 - Tools to convert database tables to C# classes ...

    Jul 18, 2013 · Is there any free tool or plug-in for Visual Studio to convert the SQL tables to entity, model, facade and DAO classes? I am working on SQL Server 2008, Visual Studio 2008 and C#.

  5. Create SQL Server database tables from C# classes

    May 3, 2012 · How to Create Tables in a SQL Server CE database file using C# code Hot Network Questions Novel about a disaster on a planet, and the survivors tunnel underground …

  6. How can I use SQL Server classes (e.g. SqlCommand) to prevent …

    Jun 4, 2020 · SqlCommand is designed to work with SqlConnection to specifically query MS SQL Server - it is not designed to be a "generic" SQL command that works against any middleware …

  7. sql server - Automatically create C# wrapper classes around stored ...

    Nov 14, 2008 · Our "Code Generator" has two parts: SQL & Classes. SQL: Will generate the Update, Select & Delete stored procs. C#: Will generate the classes and save the file as a .cs. …

  8. How do you generate classes in C# from a SQL Server Schema?

    Apr 24, 2015 · I have a sql database and I want to create a class for each table. I think a tool exists that allows me to extract information from a sql database and transform it into classes …

  9. How to create a models class from SQL Server - Stack Overflow

    Jul 2, 2021 · DataOperations.Server = ".\\SQLEXPRESS"; DataOperations.Database = "NorthWind2020"; DataOperations.OutputFolder = "Classes"; DataOperations.Create(); When …

  10. Entity Framework Core creating model from existing database

    dotnet ef dbcontext scaffold "Server=servername\instancename;Database=My_Database;Trusted_Connection=True;" …

Refresh