Skip to content
Browse files

No commit message

  • Loading branch information...
1 parent 0787aef commit 2609896a7f2835fe00e8749f494ae9d59ef5b634 @Ivony committed Nov 19, 2012
Showing with 3 additions and 0 deletions.
  1. +3 −0 Sources/Ivony.Data/DynamicExtensions.cs
View
3 Sources/Ivony.Data/DynamicExtensions.cs
@@ -21,6 +21,9 @@ public static class DynamicExtensions
/// <returns></returns>
public static dynamic ToDynamic( this DataRow dataItem )
{
+ if ( dataItem == null )
+ return null;
+
return new DynamicDataRow( dataItem );
}

0 comments on commit 2609896

Please sign in to comment.
Something went wrong with that request. Please try again.