Skip to content

Commit c88b654

Browse files
Add generated files to ensure backward compatibility.
1 parent 08c0b55 commit c88b654

File tree

4 files changed

+438
-2
lines changed

4 files changed

+438
-2
lines changed

dotnet/src/dotnetframework/GxClasses/Helpers/GxDynamicCall.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ public class GxDynamicCall
1616
private GxDynCallProperties _properties;
1717
private object _object;
1818

19-
[Obsolete("ObjectName is deprecated. Use ExternalName instead", false)]
19+
//[Obsolete("ObjectName is deprecated. Use ExternalName instead", false)]
2020
public string ObjectName { get; set; }
2121
public string ExternalName { get; set; }
2222

23-
[Obsolete("Properties is deprecated. Use ExtendedProperties instead", false)]
23+
//[Obsolete("Properties is deprecated. Use ExtendedProperties instead", false)]
2424
public GxDynCallProperties Properties
2525
{
2626
get => _properties;
Lines changed: 196 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,196 @@
1+
/*
2+
File: genexus.common.type_SdtDynamicCall
3+
Description: DynamicCall
4+
Author: GeneXus .NET Generator version 18_0_11-185337
5+
Generated on: 11/28/2024 9:54:49.46
6+
Program type: Callable routine
7+
Main DBMS: SQL Server
8+
*/
9+
using System;
10+
using System.Collections;
11+
using System.Xml.Serialization;
12+
using GeneXus.Application;
13+
using GeneXus.Utils;
14+
namespace GeneXus.Core.genexus.common
15+
{
16+
[Serializable]
17+
public class SdtDynamicCall : GxUserType, IGxExternalObject
18+
{
19+
public SdtDynamicCall( )
20+
{
21+
/* Constructor for serialization */
22+
}
23+
24+
public SdtDynamicCall( IGxContext context )
25+
{
26+
this.context = context;
27+
initialize();
28+
}
29+
30+
private static Hashtable mapper;
31+
public override string JsonMap( string value )
32+
{
33+
if ( mapper == null )
34+
{
35+
mapper = new Hashtable();
36+
}
37+
return (string)mapper[value]; ;
38+
}
39+
40+
public void execute( ref GxSimpleCollection<object> gxTp_Parameters ,
41+
out GXBaseCollection<GeneXus.Utils.SdtMessages_Message> gxTp_Errors )
42+
{
43+
gxTp_Errors = new GXBaseCollection<GeneXus.Utils.SdtMessages_Message>( context, "Message", "GeneXus");
44+
if ( GeneXus_Common_DynamicCall_externalReference == null )
45+
{
46+
GeneXus_Common_DynamicCall_externalReference = new GeneXus.DynamicCall.GxDynamicCall();
47+
}
48+
System.Collections.Generic.IList<object> externalParm0;
49+
System.Collections.Generic.IList<GeneXus.Utils.SdtMessages_Message> externalParm1;
50+
externalParm0 = (System.Collections.Generic.IList<object>)CollectionUtils.ConvertToExternal( typeof(System.Collections.Generic.IList<object>), gxTp_Parameters.ExternalInstance);
51+
GeneXus_Common_DynamicCall_externalReference.Execute(ref externalParm0, out externalParm1);
52+
gxTp_Parameters.ExternalInstance = (IList)CollectionUtils.ConvertToInternal( typeof(System.Collections.Generic.IList<object>), externalParm0);
53+
gxTp_Errors.ExternalInstance = (IList)CollectionUtils.ConvertToInternal( typeof(System.Collections.Generic.IList<GeneXus.Utils.SdtMessages_Message>), externalParm1);
54+
return ;
55+
}
56+
57+
public object execute( ref GxSimpleCollection<object> gxTp_Parameters ,
58+
GeneXus.Core.genexus.common.SdtDynamicCallMethodProperties gxTp_MethodInfo ,
59+
out GXBaseCollection<GeneXus.Utils.SdtMessages_Message> gxTp_Errors )
60+
{
61+
object returnexecute;
62+
gxTp_Errors = new GXBaseCollection<GeneXus.Utils.SdtMessages_Message>( context, "Message", "GeneXus");
63+
if ( GeneXus_Common_DynamicCall_externalReference == null )
64+
{
65+
GeneXus_Common_DynamicCall_externalReference = new GeneXus.DynamicCall.GxDynamicCall();
66+
}
67+
object externalParm0;
68+
System.Collections.Generic.IList<object> externalParm1;
69+
GeneXus.DynamicCall.GxDynCallMethodConf externalParm2;
70+
System.Collections.Generic.IList<GeneXus.Utils.SdtMessages_Message> externalParm3;
71+
externalParm1 = (System.Collections.Generic.IList<object>)CollectionUtils.ConvertToExternal( typeof(System.Collections.Generic.IList<object>), gxTp_Parameters.ExternalInstance);
72+
externalParm2 = (GeneXus.DynamicCall.GxDynCallMethodConf)(gxTp_MethodInfo.ExternalInstance);
73+
externalParm0 = GeneXus_Common_DynamicCall_externalReference.Execute(ref externalParm1, externalParm2, out externalParm3);
74+
returnexecute = (object)(externalParm0);
75+
gxTp_Parameters.ExternalInstance = (IList)CollectionUtils.ConvertToInternal( typeof(System.Collections.Generic.IList<object>), externalParm1);
76+
gxTp_Errors.ExternalInstance = (IList)CollectionUtils.ConvertToInternal( typeof(System.Collections.Generic.IList<GeneXus.Utils.SdtMessages_Message>), externalParm3);
77+
return returnexecute ;
78+
}
79+
80+
public void create( GxSimpleCollection<object> gxTp_Parameters ,
81+
out GXBaseCollection<GeneXus.Utils.SdtMessages_Message> gxTp_Errors )
82+
{
83+
gxTp_Errors = new GXBaseCollection<GeneXus.Utils.SdtMessages_Message>( context, "Message", "GeneXus");
84+
if ( GeneXus_Common_DynamicCall_externalReference == null )
85+
{
86+
GeneXus_Common_DynamicCall_externalReference = new GeneXus.DynamicCall.GxDynamicCall();
87+
}
88+
System.Collections.Generic.IList<object> externalParm0;
89+
System.Collections.Generic.IList<GeneXus.Utils.SdtMessages_Message> externalParm1;
90+
externalParm0 = (System.Collections.Generic.IList<object>)CollectionUtils.ConvertToExternal( typeof(System.Collections.Generic.IList<object>), gxTp_Parameters.ExternalInstance);
91+
GeneXus_Common_DynamicCall_externalReference.Create(externalParm0, out externalParm1);
92+
gxTp_Errors.ExternalInstance = (IList)CollectionUtils.ConvertToInternal( typeof(System.Collections.Generic.IList<GeneXus.Utils.SdtMessages_Message>), externalParm1);
93+
return ;
94+
}
95+
96+
public void setoption( ref string gxTp_ObjectName ,
97+
ref string gxTp_CallOption ,
98+
ref string gxTp_Value )
99+
{
100+
if ( GeneXus_Common_DynamicCall_externalReference == null )
101+
{
102+
GeneXus_Common_DynamicCall_externalReference = new GeneXus.DynamicCall.GxDynamicCall();
103+
}
104+
return ;
105+
}
106+
107+
public string gxTpr_Objectname
108+
{
109+
get {
110+
if ( GeneXus_Common_DynamicCall_externalReference == null )
111+
{
112+
GeneXus_Common_DynamicCall_externalReference = new GeneXus.DynamicCall.GxDynamicCall();
113+
}
114+
return GeneXus_Common_DynamicCall_externalReference.ObjectName ;
115+
}
116+
117+
set {
118+
if ( GeneXus_Common_DynamicCall_externalReference == null )
119+
{
120+
GeneXus_Common_DynamicCall_externalReference = new GeneXus.DynamicCall.GxDynamicCall();
121+
}
122+
GeneXus_Common_DynamicCall_externalReference.ObjectName = value;
123+
SetDirty("Objectname");
124+
}
125+
126+
}
127+
128+
public GeneXus.Core.genexus.common.SdtDynamicCallPropertiesNet gxTpr_Net
129+
{
130+
get {
131+
if ( GeneXus_Common_DynamicCall_externalReference == null )
132+
{
133+
GeneXus_Common_DynamicCall_externalReference = new GeneXus.DynamicCall.GxDynamicCall();
134+
}
135+
GeneXus.Core.genexus.common.SdtDynamicCallPropertiesNet intValue;
136+
intValue = new GeneXus.Core.genexus.common.SdtDynamicCallPropertiesNet(context);
137+
GeneXus.DynamicCall.GxDynCallProperties externalParm0;
138+
externalParm0 = GeneXus_Common_DynamicCall_externalReference.Properties;
139+
intValue.ExternalInstance = externalParm0;
140+
return intValue ;
141+
}
142+
143+
set {
144+
if ( GeneXus_Common_DynamicCall_externalReference == null )
145+
{
146+
GeneXus_Common_DynamicCall_externalReference = new GeneXus.DynamicCall.GxDynamicCall();
147+
}
148+
GeneXus.Core.genexus.common.SdtDynamicCallPropertiesNet intValue;
149+
GeneXus.DynamicCall.GxDynCallProperties externalParm1;
150+
intValue = value;
151+
externalParm1 = (GeneXus.DynamicCall.GxDynCallProperties)(intValue.ExternalInstance);
152+
GeneXus_Common_DynamicCall_externalReference.Properties = externalParm1;
153+
SetDirty("Net");
154+
}
155+
156+
}
157+
158+
public Object ExternalInstance
159+
{
160+
get {
161+
if ( GeneXus_Common_DynamicCall_externalReference == null )
162+
{
163+
GeneXus_Common_DynamicCall_externalReference = new GeneXus.DynamicCall.GxDynamicCall();
164+
}
165+
return GeneXus_Common_DynamicCall_externalReference ;
166+
}
167+
168+
set {
169+
GeneXus_Common_DynamicCall_externalReference = (GeneXus.DynamicCall.GxDynamicCall)(value);
170+
}
171+
172+
}
173+
174+
[XmlIgnore]
175+
private static GXTypeInfo _typeProps;
176+
protected override GXTypeInfo TypeInfo
177+
{
178+
get {
179+
return _typeProps ;
180+
}
181+
182+
set {
183+
_typeProps = value ;
184+
}
185+
186+
}
187+
188+
public void initialize( )
189+
{
190+
return ;
191+
}
192+
193+
protected GeneXus.DynamicCall.GxDynamicCall GeneXus_Common_DynamicCall_externalReference=null ;
194+
}
195+
196+
}
Lines changed: 120 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,120 @@
1+
/*
2+
File: genexus.common.type_SdtDynamicCallMethodProperties
3+
Description: DynamicCallMethodProperties
4+
Author: GeneXus .NET Generator version 18_0_11-185337
5+
Generated on: 11/28/2024 9:54:49.46
6+
Program type: Callable routine
7+
Main DBMS: SQL Server
8+
*/
9+
using System;
10+
using System.Collections;
11+
using System.Xml.Serialization;
12+
using GeneXus.Application;
13+
using GeneXus.Utils;
14+
namespace GeneXus.Core.genexus.common
15+
{
16+
[Serializable]
17+
public class SdtDynamicCallMethodProperties : GxUserType, IGxExternalObject
18+
{
19+
public SdtDynamicCallMethodProperties( )
20+
{
21+
/* Constructor for serialization */
22+
}
23+
24+
public SdtDynamicCallMethodProperties( IGxContext context )
25+
{
26+
this.context = context;
27+
initialize();
28+
}
29+
30+
private static Hashtable mapper;
31+
public override string JsonMap( string value )
32+
{
33+
if ( mapper == null )
34+
{
35+
mapper = new Hashtable();
36+
}
37+
return (string)mapper[value]; ;
38+
}
39+
40+
public bool gxTpr_Isstatic
41+
{
42+
get {
43+
if ( GeneXus_Common_DynamicCallMethodProperties_externalReference == null )
44+
{
45+
GeneXus_Common_DynamicCallMethodProperties_externalReference = new GeneXus.DynamicCall.GxDynCallMethodConf();
46+
}
47+
return GeneXus_Common_DynamicCallMethodProperties_externalReference.IsStatic ;
48+
}
49+
50+
set {
51+
if ( GeneXus_Common_DynamicCallMethodProperties_externalReference == null )
52+
{
53+
GeneXus_Common_DynamicCallMethodProperties_externalReference = new GeneXus.DynamicCall.GxDynCallMethodConf();
54+
}
55+
GeneXus_Common_DynamicCallMethodProperties_externalReference.IsStatic = value;
56+
SetDirty("Isstatic");
57+
}
58+
59+
}
60+
61+
public string gxTpr_Methodname
62+
{
63+
get {
64+
if ( GeneXus_Common_DynamicCallMethodProperties_externalReference == null )
65+
{
66+
GeneXus_Common_DynamicCallMethodProperties_externalReference = new GeneXus.DynamicCall.GxDynCallMethodConf();
67+
}
68+
return GeneXus_Common_DynamicCallMethodProperties_externalReference.MethodName ;
69+
}
70+
71+
set {
72+
if ( GeneXus_Common_DynamicCallMethodProperties_externalReference == null )
73+
{
74+
GeneXus_Common_DynamicCallMethodProperties_externalReference = new GeneXus.DynamicCall.GxDynCallMethodConf();
75+
}
76+
GeneXus_Common_DynamicCallMethodProperties_externalReference.MethodName = value;
77+
SetDirty("Methodname");
78+
}
79+
80+
}
81+
82+
public Object ExternalInstance
83+
{
84+
get {
85+
if ( GeneXus_Common_DynamicCallMethodProperties_externalReference == null )
86+
{
87+
GeneXus_Common_DynamicCallMethodProperties_externalReference = new GeneXus.DynamicCall.GxDynCallMethodConf();
88+
}
89+
return GeneXus_Common_DynamicCallMethodProperties_externalReference ;
90+
}
91+
92+
set {
93+
GeneXus_Common_DynamicCallMethodProperties_externalReference = (GeneXus.DynamicCall.GxDynCallMethodConf)(value);
94+
}
95+
96+
}
97+
98+
[XmlIgnore]
99+
private static GXTypeInfo _typeProps;
100+
protected override GXTypeInfo TypeInfo
101+
{
102+
get {
103+
return _typeProps ;
104+
}
105+
106+
set {
107+
_typeProps = value ;
108+
}
109+
110+
}
111+
112+
public void initialize( )
113+
{
114+
return ;
115+
}
116+
117+
protected GeneXus.DynamicCall.GxDynCallMethodConf GeneXus_Common_DynamicCallMethodProperties_externalReference=null ;
118+
}
119+
120+
}

0 commit comments

Comments
 (0)