Mike Borozdin's Blog

A blog about programming, web and IT in general

Search

Disclaimer

The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

© 2012 Mike Borozdin

Getting Intrigued by Entity Framework

If you use LINQ to SQL, you may wonder why Microsoft released yet another ORM (Entity Framework), while they already had one. You may also be confused, because it’s not obvious which one to choose. Anyway, the Entity Framework has its own shiny features that don’t present in LINQ to SQL. Besides, you can still use LINQ to retrieve data with the Entity Framework, in this case, it’s called LINQ to Entities, at the same time you can also use a SQL like language – Entities SQL. In this story I’ll show one particular feature of Entity Framework that certainly must interest many developers.

Basicall y, Entity Framework provides a higher level of abstraction than LINQ to SQL. In fact, in hides the data level. So, you deal with objects that represent real entities, not database tables, like if you were using LINQ to SQL. I mean when you generate LINQ to SQL classes, it creates classes for each tables, even though those tables are merely junction tables without any reflection in our real life.

Let’s have a look at the example, to make things clear. More...


Posted on Sunday, September 28, 2008
Comments (2)

Entity Framework and MySQL

Although MySQL don't seem to be very interested in providing a native support for LINQ to MySQL and you have to use 3-rd party providers to interact with MySQL by using LINQ, they seem to move towards Entity Framework. They are holding a webinar about using Entity Framework with MySQL on September, 30.

I think this can be a one reason of many why it's worth using Entity Framework, the support by database vendors is a great thing. It is not the only reason, of course, there are many other ones. The main thing is that Entity Framework provides a higher level of abstraction than LINQ to SQL, for instance. It can be a topic for a series of articles, so I think, I'll cover Entity Framework in other articles.


Posted on Wednesday, September 10, 2008
Comments (1)

Develop PHP in Visual Studio

I've been programming with PHP for many years and have used a lot of editors and so-called IDEs, I must admit that PHP IDEs have become much better now and they differ significantly from simple editors with syntax highlighting. Anyway, in the recent time I have been working much with Visual Studio. I must confess that I really love it, some people may argue of course, especially Java developers who are fond of their development tools and tend to look down at other ones. So, I was happy to learn that there is a plug-in that enables you to program with PHP in a familiar development environment of Visual Studio. Sure, I doubt that it will interest people who don't have Visual Studio, but for developer who are used to it, it's a great choice, I think. More...


Posted on Sunday, September 07, 2008
Comments (3)

C++ Programming Language Still Rocks

Even though I don't program with C++ much these days, I still love the book entitled "C++ Programming Language" by Bjarne Stroustrup - the creator of the C++ programming language. Its first edition was published in 1986, but the book still remains informative even for non-C++ programmers.  Unlike many other programming books, this one doesn't focus only on the language itself,  in contrast, there are many very useful chapters on various programming paradigms, including the object oriented one, for sure. Besides, it does really explain the p urpose of the object oriented method and its benefits. Moreover, there is information on software architecture, class design and on programming process as a whole. More...


Posted on Thursday, September 04, 2008
Comments (9)

Microsoft Launch Social Bookmarking Service for IT Professionals

There is a preview version only, but the release version will come soon, I think it looks very promising.

Here is a quote from their blog:

Microsoft is opening up the MSDN, TechNet, and Expression sites to the community, so that technical professionals can better connect with each other, share knowledge, and succeed. Tagging - and especially social bookmarking - are essential ingredients for making this happen.

More...


Tags:
Posted on Monday, September 01, 2008
Comments (1)