コード例 #1
0
 public bool HasArgumentOfOracleType(IOrclType orclType)
 {
     if (Arguments == null)
     {
         return(false);
     }
     return(Arguments.Exists(a => a.OrclType == orclType));
 }
コード例 #2
0
 /// <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);
 }
コード例 #3
0
 internal static string IgnoreNoSendReceiveRecordFieldTyped(IOrclType orclType) => FormatMsg(IGNORE_NO_SEND_RECEIVE_RECORD_FIELD_TYPE, orclType.DataType);
コード例 #4
0
 internal static string IgnoreNoSendAssocArrayUnimplemented(IOrclType orclType) => FormatMsg(IGNORE_NO_SEND_ASSOC_ARRAY_UNIMPLEMENTED, orclType.DataType);
コード例 #5
0
 internal static string IgnoreOracleDeprecation(IOrclType orclType) => FormatMsg(IGNORE_ORACLE_DEPRECATION, orclType.DataType);
コード例 #6
0
 internal static string IgnoreOracleNoReceive(IOrclType orclType) => FormatMsg(IGNORE_ORACLE_NO_RECEIVE, orclType.DataType);
コード例 #7
0
 internal static string IgnoreNoSendReceive(IOrclType orclType) => FormatMsg(IGNORE_NO_SEND_RECEIVE, orclType.DataType);
コード例 #8
0
 internal static string IgnoreNotAvailableOdpNetMananged(IOrclType orclType) => FormatMsg(IGNORE_NOT_AVAILABLE_ODP_NET_MANAGED, orclType.DataType);
コード例 #9
0
 internal static string IgnoreNotImplemented(IOrclType orclType) => FormatMsg(IGNORE_NOT_IMPLEMENTED, orclType.DataType);