Month September 2015

Call stored procedure via DBContext

Tried to call a SP via Entity framework (DBContext) but got a exception that parameter is not supplied. My call looked like: context.Database.ExecuteSqlCommand(“NameOfSP”, new SqlParameter(“@param1”, 1), new SqlParameter(“@param2”, DateTime.Now), new SqlParameter(“@param3”, “test”)); The right call should look like: context.Database.ExecuteSqlCommand(“NameOfSP @p1,…

Font in Windows 10 (Chrome)

I’ve upgraded to Windows 10 for about a month ago. After the update the Arial font seems really strange in some Windows forms and browsers. I.e in Chrome it looks like this:   This problem isn’t existing in Firefox so…