Permalink
Browse files

added some pulls

  • Loading branch information...
1 parent 80e518d commit dd760bade8ee0ee5981aee6371e6414ea85ca47c @subsonic subsonic committed Apr 20, 2011
Showing with 1 addition and 7 deletions.
  1. +1 −7 Massive.cs
View
8 Massive.cs
@@ -7,8 +7,6 @@
using System.Dynamic;
using System.Linq;
using System.Text;
-using System.Collections;
-using System.Text.RegularExpressions;
namespace Massive {
public static class ObjectExtensions {
@@ -39,10 +37,6 @@ public static class ObjectExtensions {
} else {
p.Value = item;
}
- //from DataChomp
- // jared: added a check for the length here
- // if the length is greater than 4000 then it is
- // assumed we are saving a ntext or nvarchar(max)
if (item.GetType() == typeof(string))
p.Size = ((string)item).Length > 4000 ? -1 : 4000;
}
@@ -129,7 +123,7 @@ public class DynamicModel {
yield return rdr.RecordToExpando(); ;
}
}
-
+
}
/// <summary>
/// Returns a single result

0 comments on commit dd760ba

Please sign in to comment.