예제 #1
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);
     }
 }
예제 #2
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);
     }
 }
예제 #3
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);
     }
 }
예제 #4
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);
     }
 }
예제 #5
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);
     }
 }
예제 #6
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);
     }
 }
예제 #7
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);
     }
 }
예제 #8
0
 /// <summary>
 /// Projection of method %IsA
 /// </summary>
 public static System.Nullable <long> SysIsA(InterSystems.Data.CacheClient.CacheConnection conn, string isclass)
 {
     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.tInt);
             mtdSignature.Add(isclass, false);
             User.GGTestProduct.RunClassMethodS(conn, User.GGTestProduct.ServerClassName, "%IsA", mtdSignature);
             return(((InterSystems.Data.CacheTypes.CacheIntReturnValue)(mtdSignature.ReturnValue)).Value);
         }
         finally {
             mtdSignature.Clear();
             conn.PostProcessing();
         }
     }
     finally {
         System.Threading.Monitor.Exit(conn);
     }
 }