private static void EnsureExecutor() { if (_executor == null) { ManagedLibrary implementation = new ManagedLibrary(); implementation.AssemblyFile = Path.Join((string)Script.Literal("__dirname"), "SqlEdge.dll"); implementation.TypeName = "SimpleCloud.SqlEdge.SqlExecutor"; implementation.MethodName = "ExecuteSql"; _executor = Edge.BindToLibrary(implementation); } }
public static Action <object, AsyncResultCallback <object> > BindToLibrary(ManagedLibrary library) { return(null); }
public static Action<object, AsyncResultCallback<object>> BindToLibrary(ManagedLibrary library) { return null; }