I want to add some rows to a database using Linq to SQL, but I want to make a "custom check" before adding the
I have a procedure in SQL that I am trying to turn into Linq: SELECT O.Id, O.Name as Organization FROM Organi
I'm sure this will be a relatively simple one. I have a LINQ query that I want to order by the most rece
Consider the IEnumerable extension methods SingleOrDefault() and FirstOrDefault() MSDN documents that SingleO
What is the difference between returning IQueryable<T> vs. IEnumerable<T>, when should one be pref
I've been searching the difference between Select and SelectMany but I haven't been able to find a s
I have two tables, movies and categories, and I want to get an ordered list by categoryID first and then by Na
I want to save my Edit to Database and I am using Entity FrameWork Code-First in ASP.NET MVC 3 / C# but I am g
I use postgresql and yii2 framework. Well I got a very interesting error message: SQLSTATE[23502]: Not null v
I've been using Yii's active record pattern for a while. Now, my project needs to access a differen
I am new to Yii-2 framework. How can i achieve following query in Yii-2 framework using activeQuery and models
Is there a way to ensure all values in an IN clause are matched? Example: I can use IN as: IN (5,6,7,8). I
I'm having some trouble figuring out how to use more than one left outer join using LINQ to SQL. I under
I'm creating a website using WooCommerce and I want to restrict the available products to users depending
So I read the other posts but this question is unique. So this SQL dump file has this as the last entry. INSE
I'm new to MySQL, I'm trying to run WordPress in my Windows desktop and it needs MySQL. I install e
I have a WordPress database on my local machine that I want to transfer to a hosted phpMyAdmin on cPanel. Howe
I am getting this error in wordpress phpMyadmin #145 - Table './DB_NAME/wp_posts' is marked as cras