itguyinsc

Stories kicked by itguyinsc

Encapsulation and Automatic properties in C# 3.0(lowendahl.net)

submitted by lowendahllowendahl(750) 4 years, 8 months ago

With C# 3.0 MS realeases Automatic Properties as a simplified encapsulation that generates getters and setters for a similary automated backing field. But is this really the way to go? Should you have dumb getters/setters or are you violating YAGNI when doing so? What are the rational behind MS decision to do so. This post address all thoose questions. read more...

1 comment |category: |Views: 39

tags: another

LINQ to SQL (Part 9 - Using a Custom LINQ Expression)(weblogs.asp.net)

submitted by gavinjoycegavinjoyce(25.7k) 4 years, 8 months ago

Scott Guthrie continues his series of blog posts that cover LINQ to SQL. "LINQ to SQL is a built-in O/RM (object relational mapper) that ships in the .NET Framework 3.5 release, and which enables you to model relational databases using .NET classes. You can use LINQ expressions to query the database with them, as well as update/insert/delete data." read more...

2 comments |category: |Views: 48

tags: another