本文整理汇总了C#中Sybase.Collections.GenericList.Add方法的典型用法代码示例。如果您正苦于以下问题:C# Sybase.Collections.GenericList.Add方法的具体用法?C# Sybase.Collections.GenericList.Add怎么用?C# Sybase.Collections.GenericList.Add使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Sybase.Collections.GenericList
的用法示例。
在下文中一共展示了Sybase.Collections.GenericList.Add方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: Synchronize
public override void Synchronize (Sybase.Persistence.ServerSyncData ssd)
{
object _userContext = new Sybase.Persistence.SynchronizationNotification();
Sybase.Collections.GenericList<Sybase.Persistence.ISynchronizationGroup> _sgs = new Sybase.Collections.GenericList<Sybase.Persistence.ISynchronizationGroup>();
_sgs.Add(CRMMobileDesaDB.GetSynchronizationGroup(ssd.Publication));
CRMMobileDesaDB.BeginSynchronize(_sgs, _userContext);
}
示例2: OnMessage
public void OnMessage(com.sybase.afx.json.JsonMessage msg)
{
string _notification = msg.GetHeaders().GetNullableString("SUPObjCmd");
bool _reregistered = (_notification != null && _notification.Equals("reregister"));
if(_reregistered)
{
YPF.Comercial.RRCC.SUP.CRMMobileDesaDB.GetCallbackHandler().OnSubscriptionEnd();
return;
}
string method = msg.GetHeaders().GetString("method");
bool _isAsync = "asyncReplayCompleted".Equals(method);
string serverRemoteId = msg.GetHeaders().GetNullableString("remoteId");
string clientRemoteId = GetRemoteId();
if(serverRemoteId != null && clientRemoteId != null && !serverRemoteId.Equals(clientRemoteId))
{
return;
}
bool _isTcn = "tcn".Equals(method);
if(!_isAsync && !_isTcn)
{
return;
}
com.sybase.afx.json.JsonObject _content = (com.sybase.afx.json.JsonObject)(msg.GetContent());
string userContext = _content.GetString("userContext");
string synchronizationGroup = _content.GetString("synchronizationGroup");
Sybase.Persistence.SynchronizationContext syncContext = new Sybase.Persistence.SynchronizationContext();
syncContext.UserContext = userContext;
Sybase.Collections.GenericList<Sybase.Persistence.ISynchronizationGroup> sgs = new Sybase.Collections.GenericList<Sybase.Persistence.ISynchronizationGroup>();
foreach(string sg in com.sybase.afx.util.StringUtil.GetCommaSeparatedList(synchronizationGroup))
{
sgs.Add(YPF.Comercial.RRCC.SUP.CRMMobileDesaDB.GetSynchronizationGroup(sg));
}
if(_isTcn)
{
syncContext.Status = Sybase.Persistence.SynchronizationStatus.STARTING_ON_NOTIFICATION;
}
else
{
syncContext.Status = Sybase.Persistence.SynchronizationStatus.ASYNC_REPLAY_COMPLETED;
}
if(YPF.Comercial.RRCC.SUP.CRMMobileDesaDB.GetCallbackHandler().OnSynchronize(sgs, syncContext) == Sybase.Persistence.SynchronizationAction.CANCEL)
{
return;
}
try
{
YPF.Comercial.RRCC.SUP.CRMMobileDesaDB.BeginSynchronize(sgs, userContext);
}
catch(Sybase.Persistence.SynchronizeException ex)
{
syncContext.Exception = ex;
syncContext.Status = Sybase.Persistence.SynchronizationStatus.ERROR;
YPF.Comercial.RRCC.SUP.CRMMobileDesaDB.GetCallbackHandler().OnSynchronize(sgs, syncContext);
throw ex;
}
syncContext.Status = Sybase.Persistence.SynchronizationStatus.FINISHING;
YPF.Comercial.RRCC.SUP.CRMMobileDesaDB.GetCallbackHandler().OnSynchronize(sgs, syncContext);
}
示例3: FromJSONList
internal static Sybase.Collections.GenericList<SISSubscriptionKey> FromJSONList(object __array)
{
com.sybase.afx.json.JsonArray _array = (com.sybase.afx.json.JsonArray)__array;
Sybase.Collections.GenericList<SISSubscriptionKey> _list;
if (_array == null)
{
_list = null;
}
else
{
int _size = _array.Count;
_list = new Sybase.Collections.GenericList<SISSubscriptionKey>(_size);
foreach (object __o in _array)
{
_list.Add((YPF.Comercial.RRCC.SUP.intrnl.SISSubscriptionKey)(YPF.Comercial.RRCC.SUP.intrnl.SISSubscriptionKey.FromJSON((com.sybase.afx.json.JsonObject)(__o))));
}
}
return _list;
}
示例4: FindVisitaRRCCByDate
/// <summary>
/// Find a List of YPF.Comercial.RRCC.SUP.Interaccion
/// </summary>
/// <exception cref="PersistentException">Thrown if unable to retrieve mobile business object.</exception>
/// <remarks> </remarks>
public static Sybase.Collections.GenericList<YPF.Comercial.RRCC.SUP.Interaccion> FindVisitaRRCCByDate(System.DateTime fecha, string codigoInterlocutor, int skip, int take)
{
skip = skip + 1;
Sybase.Collections.GenericList<YPF.Comercial.RRCC.SUP.Interaccion> result_2 = new Sybase.Collections.GenericList<YPF.Comercial.RRCC.SUP.Interaccion>();
System.Data.IDataReader rs_4 = null;
int count_5 = 0;
Sybase.Persistence.ConnectionWrapper _conn = null;
try
{
_conn = YPF.Comercial.RRCC.SUP.CRMMobileDesaDB.AcquireDBReadConnection();
string _selectSQL = " x.\"a\",x.\"b\",x.\"c\",x.\"d\",x.\"e\",x.\"f\",x.\"g\",x.\"h\",x.\"i\",x.\"j\",x.\"l\",x.\"m\",x.\"n\",x.\"o\",x.\"p\",x.\"q\",x.\"r\",x.\"s\",x.\"t\",x.\"u\",x.\"v\",x.\"w\",x.\"x\",x.\"y\",x.\"z\",x.\"ba\",x.\"bb\",x.\"bc\",x.\"bd\",x.\"be\",x.\"bf\",x.\"bg\",x.\"bh\",x.\"bi\",x.\"bj\",x.\"bl\",x.\"bm\",x.\"bn\",x.\"bo\",x.\"bp\",x.\"bq\",x.\"br\","
+ "x.\"pending\",x.\"_pc\",x.\"_rp\",x.\"_rf\",x.\"bs\",x.\"_rc\",x.\"_ds\" FROM \"crmmobiledesa_1_0_interaccion\" x WHERE (((x.\"pending\" = 1 or not exists (select x_os.\"bs\" from \"crmmobiledesa_1_0_interaccion_os\" x_os where x_os.\"bs\" = x.\"bs\")))) and ( x.\"bd\" IS NOT NULL AND x.\"bd\" <> \'\' AND x.\"b\" = \'ZVRC\' AND x.\"d\" "
+ "= \'Z06\' AND DAY(x.\"v\") = DAY(?) AND MONTH(x.\"v\") = MONTH(?) And YEAR(x.\"v\") = YEAR(?) AND x.\"bf\" = ?)";
_selectSQL = "select top " + take + " start at " + skip + " " + _selectSQL;
System.Data.IDbCommand ps_3 = com.sybase.afx.db.CommandUtil.CreateCommand(_conn, _selectSQL);
com.sybase.afx.db.CommandUtil.SetDateTime(_conn.GetConnectionProfile(), ps_3, "fecha", fecha);
com.sybase.afx.db.CommandUtil.SetDateTime(_conn.GetConnectionProfile(), ps_3, "fecha", fecha);
com.sybase.afx.db.CommandUtil.SetDateTime(_conn.GetConnectionProfile(), ps_3, "fecha", fecha);
com.sybase.afx.db.CommandUtil.SetString(_conn.GetConnectionProfile(), ps_3, "codigoInterlocutor", codigoInterlocutor);
rs_4 = ps_3.ExecuteReader();
Sybase.Persistence.ConnectionProfile profile = _conn.GetConnectionProfile();
while (com.sybase.afx.db.ReaderUtil.Read(profile, rs_4))
{
YPF.Comercial.RRCC.SUP.Interaccion entity_6 = new YPF.Comercial.RRCC.SUP.Interaccion();
entity_6.Bind(profile, rs_4);
count_5++;
result_2.Add(entity_6);
}
if (rs_4 != null) com.sybase.afx.db.ReaderUtil.Close(profile, rs_4, count_5);
if (ps_3 != null) ps_3.Dispose();
_selectSQL = null;
}
catch (System.Data.DataException ex)
{
throw new Sybase.Persistence.PersistenceException(ex.ToString(), ex);
}
finally
{
YPF.Comercial.RRCC.SUP.CRMMobileDesaDB.ReleaseDBConnection();
}
return result_2;
}
示例5: GetPendingObjects
/// <summary>
/// Find a List of YPF.Comercial.RRCC.SUP.RespuestaInteraccionFormulario
/// </summary>
/// <exception cref="PersistentException">Thrown if unable to retrieve mobile business object.</exception>
/// <remarks> </remarks>
public static Sybase.Collections.GenericList<YPF.Comercial.RRCC.SUP.RespuestaInteraccionFormulario> GetPendingObjects(char pendingChange, int skip, int take)
{
skip = skip + 1;
Sybase.Collections.GenericList<YPF.Comercial.RRCC.SUP.RespuestaInteraccionFormulario> result_2 = new Sybase.Collections.GenericList<YPF.Comercial.RRCC.SUP.RespuestaInteraccionFormulario>();
System.Data.IDataReader rs_4 = null;
int count_5 = 0;
Sybase.Persistence.ConnectionWrapper _conn = null;
try
{
_conn = YPF.Comercial.RRCC.SUP.CRMMobileDesaDB.AcquireDBReadConnection();
string _selectSQL = " x.\"a\",x.\"b\",x.\"c\",x.\"d\",x.\"e\",x.\"f\",x.\"pending\",x.\"_pc\",x.\"_rp\",x.\"_rf\",x.\"interaccionFK\",x.\"g\",x.\"_rc\",x.\"_ds\" from \"crmmobiledesa_1_0_respuestainteraccionformulario\" x where x.\"_pc\" = ?";
_selectSQL = "select top " + take + " start at " + skip + " " + _selectSQL;
System.Data.IDbCommand ps_3 = com.sybase.afx.db.CommandUtil.CreateCommand(_conn, _selectSQL);
com.sybase.afx.db.CommandUtil.SetChar(_conn.GetConnectionProfile(), ps_3, "pendingChange", pendingChange);
rs_4 = ps_3.ExecuteReader();
Sybase.Persistence.ConnectionProfile profile = _conn.GetConnectionProfile();
while (com.sybase.afx.db.ReaderUtil.Read(profile, rs_4))
{
YPF.Comercial.RRCC.SUP.RespuestaInteraccionFormulario entity_6 = new YPF.Comercial.RRCC.SUP.RespuestaInteraccionFormulario();
entity_6.Bind(profile, rs_4);
count_5++;
result_2.Add(entity_6);
}
if (rs_4 != null) com.sybase.afx.db.ReaderUtil.Close(profile, rs_4, count_5);
if (ps_3 != null) ps_3.Dispose();
_selectSQL = null;
}
catch (System.Data.DataException ex)
{
throw new Sybase.Persistence.PersistenceException(ex.ToString(), ex);
}
finally
{
YPF.Comercial.RRCC.SUP.CRMMobileDesaDB.ReleaseDBConnection();
}
return result_2;
}
示例6: FindByUser
/// <summary>
/// Find a List of YPF.Comercial.RRCC.SUP.ClientPersonalization
/// </summary>
/// <exception cref="PersistentException">Thrown if unable to retrieve mobile business object.</exception>
/// <remarks> </remarks>
public static Sybase.Collections.GenericList<YPF.Comercial.RRCC.SUP.ClientPersonalization> FindByUser(string user, int skip, int take)
{
skip = skip + 1;
Sybase.Collections.GenericList<YPF.Comercial.RRCC.SUP.ClientPersonalization> result_2 = new Sybase.Collections.GenericList<YPF.Comercial.RRCC.SUP.ClientPersonalization>();
System.Data.IDataReader rs_4 = null;
int count_5 = 0;
Sybase.Persistence.ConnectionWrapper _conn = null;
try
{
_conn = YPF.Comercial.RRCC.SUP.CRMMobileDesaDB.AcquireDBReadConnection();
string _selectSQL = " p.\"key_name\",p.\"user\",p.\"value\",p.\"user_defined\",p.\"description\",p.\"id\" from \"co_crmmobiledesa_1_0_clientpersonalization\" p where p.\"user\" = ?";
_selectSQL = "select top " + take + " start at " + skip + " " + _selectSQL;
System.Data.IDbCommand ps_3 = com.sybase.afx.db.CommandUtil.CreateCommand(_conn, _selectSQL);
com.sybase.afx.db.CommandUtil.SetString(_conn.GetConnectionProfile(), ps_3, "user", user);
rs_4 = ps_3.ExecuteReader();
Sybase.Persistence.ConnectionProfile profile = _conn.GetConnectionProfile();
while (com.sybase.afx.db.ReaderUtil.Read(profile, rs_4))
{
YPF.Comercial.RRCC.SUP.ClientPersonalization entity_6 = new YPF.Comercial.RRCC.SUP.ClientPersonalization();
entity_6.Bind(profile, rs_4);
count_5++;
result_2.Add(entity_6);
}
if (rs_4 != null) com.sybase.afx.db.ReaderUtil.Close(profile, rs_4, count_5);
if (ps_3 != null) ps_3.Dispose();
_selectSQL = null;
}
catch (System.Data.DataException ex)
{
throw new Sybase.Persistence.PersistenceException(ex.ToString(), ex);
}
finally
{
YPF.Comercial.RRCC.SUP.CRMMobileDesaDB.ReleaseDBConnection();
}
return result_2;
}
示例7: GetPreguntaFormularios_for_Pregunta
/// <summary>
/// Find a List of YPF.Comercial.RRCC.SUP.PreguntaFormulario
/// </summary>
/// <exception cref="PersistentException">Thrown if unable to retrieve mobile business object.</exception>
/// <remarks> </remarks>
public static Sybase.Collections.GenericList<YPF.Comercial.RRCC.SUP.PreguntaFormulario> GetPreguntaFormularios_for_Pregunta(long? surrogateKey, int skip, int take)
{
skip = skip + 1;
Sybase.Collections.GenericList<YPF.Comercial.RRCC.SUP.PreguntaFormulario> result_2 = new Sybase.Collections.GenericList<YPF.Comercial.RRCC.SUP.PreguntaFormulario>();
System.Data.IDataReader rs_4 = null;
int count_5 = 0;
Sybase.Persistence.ConnectionWrapper _conn = null;
try
{
_conn = YPF.Comercial.RRCC.SUP.CRMMobileDesaDB.AcquireDBReadConnection();
string _selectSQL = " x.\"a\",x.\"b\",x.\"c\",x.\"d\",x.\"pending\",x.\"_pc\",x.\"_rp\",x.\"_rf\",x.\"preguntaFK\",x.\"formulario1FK\",x.\"e\",x.\"_rc\",x.\"_ds\" from \"crmmobiledesa_1_0_preguntaformulario\" x where (((x.\"pending\" = 1 or not exists (select x_os.\"e\" from \"crmmobiledesa_1_0_preguntaformulario_os\" x_os "
+ "where x_os.\"e\" = x.\"e\")))) and ( x.\"preguntaFK\"=?)";
_selectSQL = "select top " + take + " start at " + skip + " " + _selectSQL;
System.Data.IDbCommand ps_3 = com.sybase.afx.db.CommandUtil.CreateCommand(_conn, _selectSQL);
com.sybase.afx.db.CommandUtil.SetNullableLong(_conn.GetConnectionProfile(), ps_3, "surrogateKey", surrogateKey);
rs_4 = ps_3.ExecuteReader();
Sybase.Persistence.ConnectionProfile profile = _conn.GetConnectionProfile();
while (com.sybase.afx.db.ReaderUtil.Read(profile, rs_4))
{
YPF.Comercial.RRCC.SUP.PreguntaFormulario entity_6 = new YPF.Comercial.RRCC.SUP.PreguntaFormulario();
entity_6.Bind(profile, rs_4);
count_5++;
result_2.Add(entity_6);
}
if (rs_4 != null) com.sybase.afx.db.ReaderUtil.Close(profile, rs_4, count_5);
if (ps_3 != null) ps_3.Dispose();
_selectSQL = null;
}
catch (System.Data.DataException ex)
{
throw new Sybase.Persistence.PersistenceException(ex.ToString(), ex);
}
finally
{
YPF.Comercial.RRCC.SUP.CRMMobileDesaDB.ReleaseDBConnection();
}
return result_2;
}
示例8: SynchronizeWithCallback
private static void SynchronizeWithCallback (string synchronizationGroups,
object userContext,
Sybase.Persistence.SyncStatusListener listener,
com.sybase.afx.json.JsonObject syncContextEx)
{
Sybase.Persistence.SynchronizationContext syncContext = new Sybase.Persistence.SynchronizationContext();
syncContext.UserContext =(userContext);
Sybase.Collections.GenericList<Sybase.Persistence.ISynchronizationGroup> sgs = new Sybase.Collections.GenericList<Sybase.Persistence.ISynchronizationGroup>();
foreach(string sg in com.sybase.afx.util.StringUtil.GetCommaSeparatedList(synchronizationGroups))
{
sgs.Add(GetSynchronizationGroup(sg));
}
syncContext.Status =(Sybase.Persistence.SynchronizationStatus.STARTING);
Sybase.Persistence.SynchronizationAction _action = onSynchronizeCallback(sgs, syncContext);
if(_action == Sybase.Persistence.SynchronizationAction.CANCEL)
{
return;
}
try
{
InternalSynchronize (synchronizationGroups, listener, syncContext, syncContextEx);
}
catch(Sybase.Persistence.SynchronizeException ex)
{
syncContext.Exception =(ex);
syncContext.Status =(Sybase.Persistence.SynchronizationStatus.ERROR);
onSynchronizeCallback(sgs, syncContext);
throw ex;
}
catch(Sybase.Persistence.PersistenceException ex)
{
syncContext.Exception =(ex);
syncContext.Status =(Sybase.Persistence.SynchronizationStatus.ERROR);
onSynchronizeCallback(sgs, syncContext);
throw ex;
}
if(GetSynchronizationProfile().AsyncReplay)
{
syncContext.Status =(Sybase.Persistence.SynchronizationStatus.ASYNC_REPLAY_UPLOADED);
}
else
{
syncContext.Status =(Sybase.Persistence.SynchronizationStatus.FINISHING);
}
onSynchronizeCallback(sgs, syncContext);
}
示例9: GetAllSynchronizationGroups
/// <summary>
/// Returns all SynchronizationGroup instances.
/// </summary>
public static Sybase.Collections.GenericList<Sybase.Persistence.ISynchronizationGroup> GetAllSynchronizationGroups()
{
Sybase.Collections.GenericList<Sybase.Persistence.ISynchronizationGroup> _sgs = new Sybase.Collections.GenericList<Sybase.Persistence.ISynchronizationGroup>();
_sgs.Add(GetSynchronizationGroup("Deuda"));
_sgs.Add(GetSynchronizationGroup("Cliente"));
_sgs.Add(GetSynchronizationGroup("RepresentanteComercial"));
_sgs.Add(GetSynchronizationGroup("Interaccion"));
_sgs.Add(GetSynchronizationGroup("TablasMaestras"));
_sgs.Add(GetSynchronizationGroup("Parametro"));
_sgs.Add(GetSynchronizationGroup("CabeceraPedido"));
_sgs.Add(GetSynchronizationGroup("DetallePedido"));
_sgs.Add(GetSynchronizationGroup("Facturacion"));
return _sgs;
}
示例10: FromJSONList
internal static Sybase.Collections.GenericList<Z01CRM_RRCC_F_CABPEDIDOS_REPRESENTANTE_COMERCIAL> FromJSONList(object __array)
{
com.sybase.afx.json.JsonArray _array = (com.sybase.afx.json.JsonArray)__array;
Sybase.Collections.GenericList<Z01CRM_RRCC_F_CABPEDIDOS_REPRESENTANTE_COMERCIAL> _list;
if (_array == null)
{
_list = null;
}
else
{
int _size = _array.Count;
_list = new Sybase.Collections.GenericList<Z01CRM_RRCC_F_CABPEDIDOS_REPRESENTANTE_COMERCIAL>(_size);
foreach (object __o in _array)
{
_list.Add((YPF.Comercial.RRCC.SUP.Z01CRM_RRCC_F_CABPEDIDOS_REPRESENTANTE_COMERCIAL)(YPF.Comercial.RRCC.SUP.Z01CRM_RRCC_F_CABPEDIDOS_REPRESENTANTE_COMERCIAL.FromJSON((com.sybase.afx.json.JsonObject)(__o))));
}
}
return _list;
}
示例11: FindReadyToFinish
/// <summary>
/// Find a List of YPF.Comercial.RRCC.SUP.intrnl.OperationReplay
/// </summary>
/// <exception cref="PersistentException">Thrown if unable to retrieve mobile business object.</exception>
/// <remarks> </remarks>
public static Sybase.Collections.GenericList<YPF.Comercial.RRCC.SUP.intrnl.OperationReplay> FindReadyToFinish(int skip, int take)
{
skip = skip + 1;
Sybase.Collections.GenericList<YPF.Comercial.RRCC.SUP.intrnl.OperationReplay> result_2 = new Sybase.Collections.GenericList<YPF.Comercial.RRCC.SUP.intrnl.OperationReplay>();
System.Data.IDataReader rs_4 = null;
int count_5 = 0;
Sybase.Persistence.ConnectionWrapper _conn = null;
try
{
_conn = YPF.Comercial.RRCC.SUP.CRMMobileDesaDB.AcquireDBReadConnection();
string _selectSQL = " r.\"a\",r.\"c\",r.\"d\",r.\"e\",r.\"f\",r.\"g\",r.\"h\",r.\"i\",r.\"j\",r.\"b\" from \"crmmobiledesa_1_0_operationreplay\" r where r.\"j\" = 1 order by r.\"b\"";
_selectSQL = "select top " + take + " start at " + skip + " " + _selectSQL;
System.Data.IDbCommand ps_3 = com.sybase.afx.db.CommandUtil.CreateCommand(_conn, _selectSQL);
rs_4 = ps_3.ExecuteReader();
Sybase.Persistence.ConnectionProfile profile = _conn.GetConnectionProfile();
while (com.sybase.afx.db.ReaderUtil.Read(profile, rs_4))
{
YPF.Comercial.RRCC.SUP.intrnl.OperationReplay entity_6 = new YPF.Comercial.RRCC.SUP.intrnl.OperationReplay();
entity_6.Bind(profile, rs_4);
count_5++;
result_2.Add(entity_6);
}
if (rs_4 != null) com.sybase.afx.db.ReaderUtil.Close(profile, rs_4, count_5);
if (ps_3 != null) ps_3.Dispose();
_selectSQL = null;
}
catch (System.Data.DataException ex)
{
throw new Sybase.Persistence.PersistenceException(ex.ToString(), ex);
}
finally
{
YPF.Comercial.RRCC.SUP.CRMMobileDesaDB.ReleaseDBConnection();
}
return result_2;
}
示例12: SaveParameter
public void SaveParameter(com.sybase.afx.json.JsonObject parameters)
{
string sql = "select g from crmmobiledesa_1_0_operationreplay where b=?";
Sybase.Collections.GenericList<string> keyNames = new Sybase.Collections.GenericList<string>();
Sybase.Collections.GenericList<object> keyValues = new Sybase.Collections.GenericList<object>();
Sybase.Collections.GenericList<string> keyTypes = new Sybase.Collections.GenericList<string>();
keyNames.Add("requestId");
keyTypes.Add("long");
keyValues.Add(this.__requestId);
com.sybase.afx.db.ULBigStringImpl _parameters = new com.sybase.afx.db.ULBigStringImpl(YPF.Comercial.RRCC.SUP.CRMMobileDesaDB.GetLockManager(), null, sql, keyTypes, keyValues, keyNames,false);
com.sybase.afx.db.BigStringWriter writer = new com.sybase.afx.db.BigStringWriter(_parameters);
parameters.ToWriter(writer);
writer.Close();
}
示例13: FromJSONList
internal static Sybase.Collections.GenericList<ZCRM_CONSULTA_CLI_INTERLOCUTORES> FromJSONList(object __array)
{
com.sybase.afx.json.JsonArray _array = (com.sybase.afx.json.JsonArray)__array;
Sybase.Collections.GenericList<ZCRM_CONSULTA_CLI_INTERLOCUTORES> _list;
if (_array == null)
{
_list = null;
}
else
{
int _size = _array.Count;
_list = new Sybase.Collections.GenericList<ZCRM_CONSULTA_CLI_INTERLOCUTORES>(_size);
foreach (object __o in _array)
{
_list.Add((YPF.Comercial.RRCC.SUP.ZCRM_CONSULTA_CLI_INTERLOCUTORES)(YPF.Comercial.RRCC.SUP.ZCRM_CONSULTA_CLI_INTERLOCUTORES.FromJSON((com.sybase.afx.json.JsonObject)(__o))));
}
}
return _list;
}
示例14: FromJSONList
internal static Sybase.Collections.GenericList<RepresentanteComercialSynchronizationParameters> FromJSONList(object __array)
{
com.sybase.afx.json.JsonArray _array = (com.sybase.afx.json.JsonArray)__array;
Sybase.Collections.GenericList<RepresentanteComercialSynchronizationParameters> _list;
if (_array == null)
{
_list = null;
}
else
{
int _size = _array.Count;
_list = new Sybase.Collections.GenericList<RepresentanteComercialSynchronizationParameters>(_size);
foreach (object __o in _array)
{
_list.Add((YPF.Comercial.RRCC.SUP.RepresentanteComercialSynchronizationParameters)(YPF.Comercial.RRCC.SUP.RepresentanteComercialSynchronizationParameters.FromJSON((com.sybase.afx.json.JsonObject)(__o))));
}
}
return _list;
}
示例15: FromJSONList
internal static Sybase.Collections.GenericList<ZARFIAR_RFC_DEUDASCLIENTES_IM_KUNNR> FromJSONList(object __array)
{
com.sybase.afx.json.JsonArray _array = (com.sybase.afx.json.JsonArray)__array;
Sybase.Collections.GenericList<ZARFIAR_RFC_DEUDASCLIENTES_IM_KUNNR> _list;
if (_array == null)
{
_list = null;
}
else
{
int _size = _array.Count;
_list = new Sybase.Collections.GenericList<ZARFIAR_RFC_DEUDASCLIENTES_IM_KUNNR>(_size);
foreach (object __o in _array)
{
_list.Add((YPF.Comercial.RRCC.SUP.ZARFIAR_RFC_DEUDASCLIENTES_IM_KUNNR)(YPF.Comercial.RRCC.SUP.ZARFIAR_RFC_DEUDASCLIENTES_IM_KUNNR.FromJSON((com.sybase.afx.json.JsonObject)(__o))));
}
}
return _list;
}