Skip to content
Browse files

making linqpad driver display results for static column families

  • Loading branch information...
1 parent edadd98 commit f83e9bdf3e983c0915a74545f94aee6eee924efe Grant Pexsa committed Aug 30, 2012
Showing with 13 additions and 13 deletions.
  1. +12 −12 utility/FluentCassandra.LinqPad/CassandraDriver.cs
  2. +1 −1 utility/FluentCassandra.LinqPad/DevDeploy.bat
View
24 utility/FluentCassandra.LinqPad/CassandraDriver.cs
@@ -106,18 +106,18 @@ public override List<ExplorerItem> GetSchemaAndBuildAssembly(IConnectionInfo cxI
ref typeName);
}
- public override ICustomMemberProvider GetCustomDisplayMemberProvider(object objectToWrite)
- {
- if (objectToWrite != null && IsCassandraRow(objectToWrite.GetType()))
- {
- var t = objectToWrite.GetType().GetGenericArguments().FirstOrDefault();
- var providerType = typeof(FluentCassandraMemberProvider<>).MakeGenericType(new[] { t });
- var provider = Activator.CreateInstance(providerType, objectToWrite);
-
- return (ICustomMemberProvider)provider;
- }
- return null;
- }
+ //public override ICustomMemberProvider GetCustomDisplayMemberProvider(object objectToWrite)
+ //{
+ // if (objectToWrite != null && IsCassandraRow(objectToWrite.GetType()))
+ // {
+ // var t = objectToWrite.GetType().GetGenericArguments().FirstOrDefault();
+ // var providerType = typeof(FluentCassandraMemberProvider<>).MakeGenericType(new[] { t });
+ // var provider = Activator.CreateInstance(providerType, objectToWrite);
+
+ // return (ICustomMemberProvider)provider;
+ // }
+ // return null;
+ //}
private static bool IsCassandraRow(Type t)
{
View
2 utility/FluentCassandra.LinqPad/DevDeploy.bat
@@ -1 +1 @@
-robocopy "C:\development\projects\FluentCassandra\utility\FluentCassandra.LinqPad\bin\Debug" "C:\ProgramData\LINQPad\Drivers\DataContext\4.0\FluentCassandra.LinqPad (94b0de35caac94d0)" /mir
+robocopy "bin\Debug" "C:\ProgramData\LINQPad\Drivers\DataContext\4.0\FluentCassandra.LinqPad (94b0de35caac94d0)" /mir

0 comments on commit f83e9bd

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