コード例 #1
0
 /// <summary>Projection of %OpenId()</summary>
 public static User.GGTestProduct OpenId(InterSystems.Data.CacheClient.CacheConnection conn, string id, int concurrency, int timeout, out InterSystems.Data.CacheTypes.CacheStatus status)
 {
     try {
         System.Threading.Monitor.Enter(conn);
         conn.GeneratedAssembly = System.Reflection.Assembly.GetExecutingAssembly();
         return((User.GGTestProduct)(conn.OpenProxyObj(User.GGTestProduct.ServerClassName, id, concurrency, timeout, typeof(User.GGTestProduct), out status)));
     }
     finally {
         conn.PostProcessing();
         System.Threading.Monitor.Exit(conn);
     }
 }
コード例 #2
0
 /// <summary>
 /// Projection of method IDKEYOpen
 /// </summary>
 public static User.GGTestProduct IDKEYOpen(InterSystems.Data.CacheClient.CacheConnection conn, string K1, System.Nullable <long> concurrency, ref InterSystems.Data.CacheTypes.CacheStatus sc)
 {
     try {
         System.Threading.Monitor.Enter(conn);
         conn.GeneratedAssembly = System.Reflection.Assembly.GetExecutingAssembly();
         InterSystems.Data.CacheTypes.CacheMethodSignature mtdSignature = conn.GetMtdSignature();
         try {
             mtdSignature.SetReturnType(conn, typeof(User.GGTestProduct));
             mtdSignature.Add(K1, false);
             mtdSignature.Add(concurrency, false);
             mtdSignature.Add(sc, conn, true);
             User.GGTestProduct.RunClassMethodS(conn, User.GGTestProduct.ServerClassName, "IDKEYOpen", mtdSignature);
             sc = ((InterSystems.Data.CacheTypes.CacheStatusArgument)(mtdSignature.Arguments[2])).Value;
             return((User.GGTestProduct)(((InterSystems.Data.CacheTypes.CacheObjReturnValue)(mtdSignature.ReturnValue)).Value));
         }
         finally {
             mtdSignature.Clear();
             conn.PostProcessing();
         }
     }
     finally {
         System.Threading.Monitor.Exit(conn);
     }
 }