sqlmetal
Using SQL Server CE and SQL Server Express
I have an app which currently uses SQL Server CE, and the sch开发者_如何转开发ema is in a .sdf file. Now we want to allow it to connect to a SQL Server Express edition based on some mode.[详细]
2023-03-16 03:38 分类:问答C# SQLMetal generated code
Hei, SQLMetal generates code like this: [Column(Storage = \"_specimen\", DbType = \"VarChar(100)\")] public string Specimen[详细]
2023-03-02 19:05 分类:问答How do I exclude the Scheme name from SqlMetal generated Objects?
SqlMetal is creating object names such as... The View: Sales.ProductDescription is created as: Sales_ProductDescription[详细]
2023-02-26 20:22 分类:问答SQLMetal generates classes but not parameterless constructors
I need to regularly refresh my Linq To SQL classes; Yes, shame on me for not thinking about my data schema thoroughly enough, bad developer, ad nauseum. I found SQLMetal almost does the trick, but may[详细]
2023-02-16 09:01 分类:问答Different [DataMember] behaviour in sqlmetal than dbml designer
I\'ve taken over an application using linq-to-sql and now plan to do some major changes to the database. Due to the lack of support for refreshing the model in the dbml designer I\'m trying to use sql[详细]
2023-02-15 19:11 分类:问答System.DateTime and Sql datetime2 in Linq2Sql (using sqlmetal)
I\'d like to utilize new Sql datetime2 data type for event logging (as standard datetime has lower precision than System.DateTime causing 开发者_运维知识库data loss on storing) but when i generate the[详细]
2023-02-14 22:57 分类:问答How to use DbLinq SqlMetal for MySQL on Mac?
I\'m using Mono/MonoDevelop on Mac OS, and I want an example for using SqlMetal (DbLinq version included with Mono) for LINQ-to-SQL with MySQL database.[详细]
2023-02-14 02:02 分类:问答SQL Server CE 4.0 w/ SQLmetal
I\'ve created a small test project in WebMatrix which uses SQL Server CE 4.0. Not being a fan of using embedded SQL, I wanted to create some LINQ2SQL domain classes for t开发者_如何学JAVAhe SQL Server[详细]
2023-02-06 12:08 分类:问答LINQtoSQL: What is the Map File for?
I am currently using SqlMetal to generate my dbml and code file. I am using Visual Studio 2010 and SqlServer 2000. Unfortunately Visual Studio 2010 only support SqlServer 2005 or greater so I am unabl[详细]
2023-02-05 19:07 分类:问答How do I update a foreign key efficiently in LINQ to SQL/SQLMetal?
I ran into an issue trying to update a foreign key field: record.ForeignId = newId; It bombs with \"Operation is not valid due to the current state of the object\" due to SQLMetal code that throws[详细]
2023-01-15 05:34 分类:问答