예제 #1
0
        public T Run <T>(ICloudQueryExpr <T> query)
        {
            var package = new CloudQueryPackage(query.Expr);
            var expr    = MBraceQueryCompiler.compilePackageAsExpr <T>(package);

            return(runtime.Run <T>(expr, FSharpOption <string> .None));
        }
예제 #2
0
 public void Run(ICloudQueryExpr query)
 {
     var package = new CloudQueryPackage(query.Expr);
     var expr    = MBraceQueryCompiler.compilePackageAsExpr <Unit>(package);
     var _       = runtime.Run <Unit>(expr, FSharpOption <string> .None);
 }