Skip to content

Commit ab6a9d1

Browse files
committed
Simplify Table binding to use ScriptBinding and leverage new SDK binding power.
Fix #753 This also causes C# Node, and Python to share a codepath, and so fixes some C# cases that previously only worked in Node.
1 parent 437e4b1 commit ab6a9d1

File tree

7 files changed

+84
-353
lines changed

7 files changed

+84
-353
lines changed

src/WebJobs.Script/Binding/ExtensionBinding.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
using System.Threading.Tasks;
1212
using Microsoft.Azure.WebJobs.Script.Description;
1313
using Microsoft.Azure.WebJobs.Script.Extensibility;
14-
using Newtonsoft.Json;
1514
using Newtonsoft.Json.Linq;
1615

1716
namespace Microsoft.Azure.WebJobs.Script.Binding

src/WebJobs.Script/Binding/FunctionBinding.cs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,6 @@ internal static Collection<FunctionBinding> GetBindings(ScriptHostConfiguration
4747
string type = function.Type.ToLowerInvariant();
4848
switch (type)
4949
{
50-
case "table":
51-
TableBindingMetadata tableBindingMetadata = (TableBindingMetadata)function;
52-
bindings.Add(new TableBinding(config, tableBindingMetadata, fileAccess));
53-
break;
5450
case "http":
5551
if (fileAccess != FileAccess.Write)
5652
{

src/WebJobs.Script/Binding/TableBinding.cs

Lines changed: 0 additions & 323 deletions
This file was deleted.

0 commit comments

Comments
 (0)