Ejemplo n.º 1
0
 /// <summary>Projection of %Open()</summary>
 public static User.GGTestProduct Open(InterSystems.Data.CacheClient.CacheConnection conn, byte[] id) {
     try {
         System.Threading.Monitor.Enter(conn);
         conn.GeneratedAssembly = System.Reflection.Assembly.GetExecutingAssembly();
         return ((User.GGTestProduct)(conn.OpenProxyObj(User.GGTestProduct.ServerClassName, id, typeof(User.GGTestProduct))));
     }
     finally {
         conn.PostProcessing();
         System.Threading.Monitor.Exit(conn);
     }
 }
Ejemplo n.º 2
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);
     }
 }
Ejemplo n.º 3
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);
     }
 }
Ejemplo n.º 4
0
 /// <summary>
 /// Projection of method NameLogicalToDisplay
 /// </summary>
 public static string NameLogicalToDisplay(InterSystems.Data.CacheClient.CacheConnection conn, string _argument1) {
     try {
         System.Threading.Monitor.Enter(conn);
         conn.GeneratedAssembly = System.Reflection.Assembly.GetExecutingAssembly();
         InterSystems.Data.CacheTypes.CacheMethodSignature mtdSignature = conn.GetMtdSignature();
         try {
             mtdSignature.SetReturnType(conn, InterSystems.Data.CacheTypes.ClientTypeId.tString);
             mtdSignature.Add(_argument1, false);
             User.GGTestProduct.RunClassMethodS(conn, User.GGTestProduct.ServerClassName, "NameLogicalToDisplay", mtdSignature);
             return ((InterSystems.Data.CacheTypes.CacheStringReturnValue)(mtdSignature.ReturnValue)).Value;
         }
         finally {
             mtdSignature.Clear();
             conn.PostProcessing();
         }
     }
     finally {
         System.Threading.Monitor.Exit(conn);
     }
 }
Ejemplo n.º 5
0
 /// <summary>
 /// Projection of method IDKEYExists
 /// </summary>
 public static System.Nullable<bool> IDKEYExists(InterSystems.Data.CacheClient.CacheConnection conn, string K1, ref string id) {
     try {
         System.Threading.Monitor.Enter(conn);
         conn.GeneratedAssembly = System.Reflection.Assembly.GetExecutingAssembly();
         InterSystems.Data.CacheTypes.CacheMethodSignature mtdSignature = conn.GetMtdSignature();
         try {
             mtdSignature.SetReturnType(conn, InterSystems.Data.CacheTypes.ClientTypeId.tBool);
             mtdSignature.Add(K1, false);
             mtdSignature.Add(id, true);
             User.GGTestProduct.RunClassMethodS(conn, User.GGTestProduct.ServerClassName, "IDKEYExists", mtdSignature);
             id = ((InterSystems.Data.CacheTypes.CacheStringArgument)(mtdSignature.Arguments[1])).Value;
             return ((InterSystems.Data.CacheTypes.CacheBooleanReturnValue)(mtdSignature.ReturnValue)).Value;
         }
         finally {
             mtdSignature.Clear();
             conn.PostProcessing();
         }
     }
     finally {
         System.Threading.Monitor.Exit(conn);
     }
 }
Ejemplo n.º 6
0
 /// <summary>
 /// Projection of method IDKEYDelete
 /// </summary>
 public static InterSystems.Data.CacheTypes.CacheStatus IDKEYDelete(InterSystems.Data.CacheClient.CacheConnection conn, string K1, System.Nullable<long> concurrency) {
     try {
         System.Threading.Monitor.Enter(conn);
         conn.GeneratedAssembly = System.Reflection.Assembly.GetExecutingAssembly();
         InterSystems.Data.CacheTypes.CacheMethodSignature mtdSignature = conn.GetMtdSignature();
         try {
             mtdSignature.SetReturnType(conn, InterSystems.Data.CacheTypes.ClientTypeId.tStatus);
             mtdSignature.Add(K1, false);
             mtdSignature.Add(concurrency, false);
             User.GGTestProduct.RunClassMethodS(conn, User.GGTestProduct.ServerClassName, "IDKEYDelete", mtdSignature);
             return ((InterSystems.Data.CacheTypes.CacheStatusReturnValue)(mtdSignature.ReturnValue)).Value;
         }
         finally {
             mtdSignature.Clear();
             conn.PostProcessing();
         }
     }
     finally {
         System.Threading.Monitor.Exit(conn);
     }
 }
Ejemplo n.º 7
0
 /// <summary>
 /// Projection of method %SaveIndices
 /// </summary>
 public static InterSystems.Data.CacheTypes.CacheStatus SysSaveIndices(InterSystems.Data.CacheClient.CacheConnection conn, string pStartId, string pEndId, System.Nullable<bool> lockExtent) {
     try {
         System.Threading.Monitor.Enter(conn);
         conn.GeneratedAssembly = System.Reflection.Assembly.GetExecutingAssembly();
         InterSystems.Data.CacheTypes.CacheMethodSignature mtdSignature = conn.GetMtdSignature();
         try {
             mtdSignature.SetReturnType(conn, InterSystems.Data.CacheTypes.ClientTypeId.tStatus);
             mtdSignature.Add(pStartId, false);
             mtdSignature.Add(pEndId, false);
             mtdSignature.Add(lockExtent, false);
             User.GGTestProduct.RunClassMethodS(conn, User.GGTestProduct.ServerClassName, "%SaveIndices", mtdSignature);
             return ((InterSystems.Data.CacheTypes.CacheStatusReturnValue)(mtdSignature.ReturnValue)).Value;
         }
         finally {
             mtdSignature.Clear();
             conn.PostProcessing();
         }
     }
     finally {
         System.Threading.Monitor.Exit(conn);
     }
 }
Ejemplo n.º 8
0
 /// <summary>
 /// Projection of method %DeleteExtent
 /// </summary>
 public static InterSystems.Data.CacheTypes.CacheStatus SysDeleteExtent(InterSystems.Data.CacheClient.CacheConnection conn, System.Nullable<long> concurrency, ref string deletecount, ref string instancecount, System.Nullable<long> pInitializeExtent) {
     try {
         System.Threading.Monitor.Enter(conn);
         conn.GeneratedAssembly = System.Reflection.Assembly.GetExecutingAssembly();
         InterSystems.Data.CacheTypes.CacheMethodSignature mtdSignature = conn.GetMtdSignature();
         try {
             mtdSignature.SetReturnType(conn, InterSystems.Data.CacheTypes.ClientTypeId.tStatus);
             mtdSignature.Add(concurrency, false);
             mtdSignature.Add(deletecount, true);
             mtdSignature.Add(instancecount, true);
             mtdSignature.Add(pInitializeExtent, false);
             User.GGTestProduct.RunClassMethodS(conn, User.GGTestProduct.ServerClassName, "%DeleteExtent", mtdSignature);
             deletecount = ((InterSystems.Data.CacheTypes.CacheStringArgument)(mtdSignature.Arguments[1])).Value;
             instancecount = ((InterSystems.Data.CacheTypes.CacheStringArgument)(mtdSignature.Arguments[2])).Value;
             return ((InterSystems.Data.CacheTypes.CacheStatusReturnValue)(mtdSignature.ReturnValue)).Value;
         }
         finally {
             mtdSignature.Clear();
             conn.PostProcessing();
         }
     }
     finally {
         System.Threading.Monitor.Exit(conn);
     }
 }
Ejemplo n.º 9
0
 /// <summary>
 /// Projection of method %ComposeOid
 /// </summary>
 public static void SysComposeOid(InterSystems.Data.CacheClient.CacheConnection conn, string id) {
     try {
         System.Threading.Monitor.Enter(conn);
         conn.GeneratedAssembly = System.Reflection.Assembly.GetExecutingAssembly();
         InterSystems.Data.CacheTypes.CacheMethodSignature mtdSignature = conn.GetMtdSignature();
         try {
             mtdSignature.SetReturnType(conn, InterSystems.Data.CacheTypes.ClientTypeId.tVoid);
             mtdSignature.Add(id, false);
             User.GGTestProduct.RunClassMethodS(conn, User.GGTestProduct.ServerClassName, "%ComposeOid", mtdSignature);
         }
         finally {
             mtdSignature.Clear();
             conn.PostProcessing();
         }
     }
     finally {
         System.Threading.Monitor.Exit(conn);
     }
 }