-
Archives
- July 2010
- June 2010
- May 2010
- April 2010
- March 2010
- February 2010
- January 2010
- December 2009
- November 2009
- October 2009
- September 2009
- August 2009
- July 2009
- June 2009
- May 2009
- April 2009
- March 2009
- February 2009
- January 2009
- December 2008
- November 2008
- October 2008
- September 2008
- August 2008
- July 2008
- June 2008
- May 2008
- April 2008
- March 2008
- February 2008
- January 2008
- December 2007
- November 2007
- October 2007
- September 2007
- August 2007
- July 2007
- June 2007
- May 2007
- April 2007
- March 2007
- February 2007
- January 2007
- December 2006
- November 2006
- October 2006
- September 2006
- August 2006
- July 2006
- June 2006
- May 2006
- April 2006
- March 2006
- February 2006
- January 2006
- December 2005
- November 2005
- September 2005
- July 2005
- June 2005
-
Meta
Monthly Archives: October 2009
My Timer usage and references moral
Few minutes ago I got flash of intelligence. I’m using Timer in one of my windows service running simply 24×7. And I had a bug getting wrong data on server that I was not able to reproduce locally. Same data, … Continue reading
Přednáška ADO.NET Entity Framework – MFF UK, Praha
Pokud jste nestihli první nebo přednášku, máte v Praze další šanci. 3.11.2009 (úterý) od 17:20 v rámci programátorských večerů na MFF UK. Více info nebo , registrace na http://akce.altairis.cz. Prezentace ke stažení.
Kindle (International) – první zkušenosti
Kindle konečně včera dorazil, takže jej nyní mám necelých 24 hodin a ještě musíme odečíst spánek. Poznatky jsou tedy zatím povrchní. Nejprve obrázek – porovnání Kindlu s běžnou kreditní kartou. Kindle je jednoduchý – za dvě, tři hodiny zmáknete 99% … Continue reading
Attaching non-detached entity in Entity Framework v4 doesn’t throw exception
While slowly digging into Beta 2 of EF4 I discovered new nice “feature”. In EF1, if you had code like this. master[] data; using (testovaciEntities ent = new testovaciEntities()) { data = ent.masters.ToArray(); } using (testovaciEntities ent = new testovaciEntities()) … Continue reading
Associations without foreign keys
Michal Bláha asked me, before when I stopped in his office, whether it’s possible to create associations in Entity Data Model without foreign keys in database, as he’s not using FKs, he’s enforcing referential integrity in application (yeah, if you’re … Continue reading
Superb gesture from Amazon
Few days ago I bought Amazon Kindle, the international version, as I’m not U.S.. The international version is was +$20 to the U.S. only version. And today I got email from Amazon saying that the price has been lowered to … Continue reading
Enum.HasFlag is in .NET 4
Today I noticed, that in beta 2 of .NET Framework 4 (and Visual Studio 2010) there’s a new method for enums – HasFlag. Using bitwise operators was sometimes ugly and decreased the readability of code, hence (I think) almost everybody … Continue reading
What’s new in Entity Framework 4 Beta 2 and ADO.NET Data Services 4 Beta 2
Nice list at http://blogs.msdn.com/adonet/archive/2009/10/19/vs2010-and-net-framework-beta-2-announced.aspx.
Posted in .*
Tagged .NET, Astoria "offline", Data Services (Astoria), Entity Framework, Entity SQL, LINQ
Leave a comment
Firebird(Client) with Silverlight
I had this idea on my list for a couple of months and I was always postponing it, because it’s stupid. But you know. Exploring the unexplored ways, that’s what I like to do . But during (or after, I … Continue reading
Memory mapped files in .NET 4
Similarly to my way to , I found MemoryMappedFiles namespace, which is new in .NET 4. It’s in System.IO. If you’ve done some work in stone ages in C/C++ or maybe ObjectPascal (Delphi) you may remember using these files. I … Continue reading
Firebird Developers’ Day 2009 :(
Možná jste si všimli, že jste si nevšimli žádné upoutávky na letošní Firebird Developers‘ Day. Není to chyba na vašem přijímači. Zatím žádné takové oznámení nebylo. Popravdě, letos to s Firebird Developers‘ Day vypadá špatně. Ačkoli stále tvrdím, že “krize” … Continue reading
Multithreading with Entity Framework
From time to time I get a question about using ObjectContext from more than one thread. Because Entity Framework sits on top of ADO.NET, it’s obvious, it cannot be thread safe. So if you need to use n threads, use … Continue reading
Model Defined Function as a method on entity (or on type for store function)
Model Defined functions are new feature in EFv4. You simply define you function using EDM functions etc. in your model and then you can use it in your queries. With EdmFunction attribute you can also create stub function to use it … Continue reading
Přednáška ADO.NET Entity Framework – WUG, Brno
20.10.2009 (úterý) od 17:00 budu přednášet o novince (je to ještě novinka, když .NET 4 je za dveřmi?) v .NET 3.5 SP1 – Entity Framework. Tentokrát v Brně. Stejně jako v se podíváme na nové vlastností, které přinese Entity Framework … Continue reading
My Phone – folder synchronization disappointment
I just found out that My Phone was released (is it a long time or not? ). Although I’m synchronizing my device with Exchange server, I’m really missing (wireless) file synchronization – either with some folder on my computer or … Continue reading
Moving tray icons in Windows 7
Today I found interesting thing. Tray icons in Windows 7 keep their position and you can reorder them in a way you want. What a great idea. Because I like all tray icons to be visible, I can now place … Continue reading
Generated primary key in Entity Framework model from Firebird
Firebird doesn’t have identity/autoincrement columns like i.e. MS SQL or MySQL. Firebird has concept of generators/sequences (as know i.e. in Oracle). This is more powerful concept, but comes also with drawbacks, because you can say for sure, whether the column … Continue reading
Přednáška ADO.NET Entity Framework – Microsoft, Praha
13.10.2009 (úterý) od 17:30 budu přednášet o novince (je to ještě novinka, když .NET 4 je za dveřmi?) v .NET 3.5 SP1 – Entity Framework. A nejen to. Zabředneme také do nových vlastností, které přinese Entity Framework v4 v .NET … Continue reading



