Skip to content

MikeBevers.be

Putting it out there…

Archive

Archive for April, 2009

The Error

Unable to update the EntitySet XXXXXX because it has a DefiningQuery and no element exists in the element to support the current operation.” is one of the errors you will eventually run into with the ADO.NET Entity Framework 1.0.

continue reading…

The Problem

In some popup windows (fe: while data processing) you don’t want a user to be able to close the “dialog”. Since there is no option in the Visual Studio IDE to disable the close button, nor does a simple property exists on Form level.

So in order to solve this problem, we need to be creative.

continue reading…

The Objective

Sometimes we want to check if two lists, containing different object types, contain the same property value.

continue reading…

What is AL.exe?

AL.exe is the Assembly Linker. The Assembly Linker generates a file with an assembly manifest from one or more files that are either modules or resource files. A module is a Microsoft intermediate language (MSIL) file that does not have an assembly manifest.

continue reading…

When you are working with different types of databases (MSSQL, MySQL, Oracle, …), you tend to forget the syntax for some logic you want to implement.

Today I’m going to list different statements on how to insert multiple rows with a single statement.
Let’s say that we have a table, called “User”. Our table contains 3 fields: “UserId”, “UserName”, “Email”. Now we can start adding some rows.

continue reading…