...All those moments will be lost in time, like tears in rain....

- soliloquy from Blade Runner

Bits and bytes do get lost, awash in the rain of data flow that is Internet. They slip away from us, never to found again... some of them will be captured here, many more will not... like tears in rain...

Wednesday, July 30, 2014

Good article on how to make aspx page lighter

Searching for something in dbml

 So far, I've found 2 ways to find something in dbml:

 1) through designer generated code, usually happens by using ReSharper

 2)  using properties panel - if you are visual mode, there is a dropdown on the top of the properties panel, which will show you all objects in the dbml diagram.

Friday, July 11, 2014

Entity Framework 4.4

 Old versions of Entity Framework were really more trouble than they were worth.
 Case to the point - if you are using version of EF that does not support foreign keys, you are actually better of not having them defined on the table at all, because then they are treated as any other value in the table.
If they are defined as foreign keys, then you have to go to extra trouble and retrieve them, as they would be recognized as unsupported property and have value of null.