Archives
-
Dynamic LINQ Methods
Continuing the Dynamic LINQ series, here are some hopefuly useful methods for performing LINQ queries in IQueryable or IQueryable<T> object, with String parameters. The available methods, so far, are:
-
Displaying Empty GridView
What happens if your GridView control does not have any records to display? Well, if you set the EmptyDataText or EmptyDataTemplate properties, the grid will show something, only probably not what you'd like - the normal structure, as if it was populated with records. Here's a possible solution:
-
NDepend 3
Patrick Smacchia, of NDepend fame, was kind enough to offer me a license for its latest version, 3.0, now fully integrated with Visual Studio 2010.
-
Manually Seting a LINQ to SQL Entity's Timestamp
Suppose you want to manually persist your LINQ to SQL entities without an ObjectDataSource or LinqDataSource using the entities' timestamp column. You pick the timestamp, perhaps from an hidden field on your page, but you cannot change the System.Data.Linq.Binary property to another value, because the Binary won't allow it. You need to use reflection, here's how:
-
June Visual Studio 2010 and .NET 4.0 Training Kit Released
The June release of the Visual Studio 2010 and .NET 4.0 Training Kit was released today.
-
NHibernate 2 Beginner's Guide Review
-
NHibernate 2 Beginner's Guide Book
Packt Publishing has recently released a new book on NHibernate: NHibernate 2 Beginner's Guide, by Aaron Cure. I am now reading the final version, which Packt Publishing was kind enough to provide me, and I will soon write about it. I can tell you for now that Fabio Maulo was one of the reviewers, which certainly raises the expectations. In the meanwhile, there's a free chapter you can download, which hopefully will get you interested in it; you can get it from here.
-
Table and Column Checksums
Following my last posts on Change Data Capture and Change Tracking, here is another tip regarding tracking changes: table and colum checksums.
-
Change Tracking
You may recall my last post on Change Data Control. This time I am going to talk about other option for tracking changes to tables on SQL Server: Change Tracking.