dblinq
DbLinq generic extension method - string as keyselector?
The following snippet indicates what I want: public static class DblinqExtension { public static int MaxId<T>(this DbLinq.Data.Linq.Table<T> table) where T : class[详细]
2023-03-22 00:29 分类:问答How to use functions/variables in DBLinq.MySQL
This is my query: SELECT IF(@@old_passwords, Old_Password(?), Password(?))=`password` AS pass FROM mysql.user WHERE User=?[详细]
2023-03-11 02:57 分类:问答How to select null values with LINQ to SQL and DbLinq?
When I bool? isApproved = null; db.Table.Where(item => item.IsApproved == isApproved).Count(); the last line value is 0. But when I[详细]
2023-03-09 15:13 分类:问答CodeConditionStatement and Nullable.Equals
I have to create the following VB.Net code through a C# CodeConditionStatement If Not Nullable.Equals(field.Name, Value) Then[详细]
2023-02-20 07:38 分类:问答Why are binary Guids different from usual representation
I ha开发者_如何学JAVAve the following Guid: AAB13E97-449B-4D5B-BDE2-AC479C31B782 Using System.Guid + DbLinq + SQLite to store it the following field is added to the database.[详细]
2023-02-10 19:09 分类:问答How to set the DataContext class name with DbMetal?
DbLinq\'s DbMetal generates a Main class which inherits DataContext. I don开发者_JAVA技巧\'t want it to be Main. How to change that?DbMetal will always generate a class called Main by default. However[详细]
2023-02-08 08:32 分类:问答Using DB_LINQ for PostgreSQL and C#
De开发者_如何学Pythonar.. I want to use postgresql as database and when I was do google I found Db_Linq to connect postgresql as LinQ.[详细]
2023-01-29 14:01 分类:问答Sortable JqGrid using LINQ to MySQL (DbLinq) and Dynamic LINQ - Orderby doesn't work
I\'ve got problem with sorting entries in JqGrid. Orderby seem to not work. I set breakpoint in code and I noticed, that orderby doesn\'t change order of elements. Any idea what could be wrong?[详细]
2023-01-22 22:05 分类:问答Dblinq reference in ASP.NET Web Service on MonoDevelop causes xsp2 to fault
I am trying to try DBLinq with the sqlite provider inside a simple ASP.NET web service.I am also using MonoDevelop 2.4 and Mono 2.6.7,The project[详细]
2023-01-19 07:23 分类:问答MySQL timestamp to .NET timestamp
I am using DBLinq to access a MySQL DB from C# .NET 3.5 I have created the dbml file for the Visual Studio 2010 ORM, and it loads fine - however when I compile the source I am met with errors regardi[详细]
2023-01-16 21:06 分类:问答