public bool HasArgumentOfOracleType(IOrclType orclType) { if (Arguments == null) { return(false); } return(Arguments.Exists(a => a.OrclType == orclType)); }
/// <summary> /// Does procedure have at least one associative array of an unimplemented type as return or argument? /// </summary> /// <returns></returns> private bool HasArgumentOfOracleTypeAssocArrayOfUnimplementedType(out IOrclType unimplementedDataType) { unimplementedDataType = null; foreach (IArgument arg in Arguments) { if (Arguments.IndexOf(arg) == Arguments.Count - 1) { return(false); // reached end of arg list since assoc array uses "2 args" } // check type of argument and its subsequent argument if (arg.DataType == Orcl.ASSOCIATITVE_ARRAY && !arg.NextArgument.OrclType.IsImplementedForAssociativeArray) { unimplementedDataType = arg.NextArgument.OrclType; return(true); } } return(false); }
internal static string IgnoreNoSendReceiveRecordFieldTyped(IOrclType orclType) => FormatMsg(IGNORE_NO_SEND_RECEIVE_RECORD_FIELD_TYPE, orclType.DataType);
internal static string IgnoreNoSendAssocArrayUnimplemented(IOrclType orclType) => FormatMsg(IGNORE_NO_SEND_ASSOC_ARRAY_UNIMPLEMENTED, orclType.DataType);
internal static string IgnoreOracleDeprecation(IOrclType orclType) => FormatMsg(IGNORE_ORACLE_DEPRECATION, orclType.DataType);
internal static string IgnoreOracleNoReceive(IOrclType orclType) => FormatMsg(IGNORE_ORACLE_NO_RECEIVE, orclType.DataType);
internal static string IgnoreNoSendReceive(IOrclType orclType) => FormatMsg(IGNORE_NO_SEND_RECEIVE, orclType.DataType);
internal static string IgnoreNotAvailableOdpNetMananged(IOrclType orclType) => FormatMsg(IGNORE_NOT_AVAILABLE_ODP_NET_MANAGED, orclType.DataType);
internal static string IgnoreNotImplemented(IOrclType orclType) => FormatMsg(IGNORE_NOT_IMPLEMENTED, orclType.DataType);