Пример #1
0
        /// <summary>
        /// Declare attribute parameters.
        /// </summary>
        protected virtual void DeclareAttributes()
        {
            // Declare the PDO's
            orByValParameter = new ORPDOClass();
            orByRefParameter = new ORPDOClass();

            //Declare OSCA
            orByRefParameter.DeclareAttribute("b_osca", Constants.OR_ASA_DATATYPE_USERCLASS);
            orByRefParameter.DeclareAttribute("b_osca.i_context_id", Constants.OR_ASA_DATATYPE_INTEGER);
            orByRefParameter.DeclareAttribute("b_osca.i_error_no", Constants.OR_ASA_DATATYPE_INTEGER);
            orByRefParameter.DeclareAttribute("b_osca.i_error_type", Constants.OR_ASA_DATATYPE_INTEGER);
            orByRefParameter.DeclareAttribute("b_osca.v_msg_txt", Constants.OR_ASA_DATATYPE_STRING);
        }
Пример #2
0
 /// <summary>
 /// Declare an attribute on a PDO.
 /// </summary>
 /// <param name="pdo"></param>
 /// <param name="attributeName"></param>
 /// <param name="attributeType"></param>
 public static void DeclareAttribute(ORPDOClass pdo, string attributeName, string attributeType)
 {
     pdo.DeclareAttribute(attributeName, attributeType);
 }
Пример #3
0
        /// <summary>
        /// Declare attribute parameters.
        /// </summary>
        protected virtual void DeclareAttributes()
        {

            // Declare the PDO's
            orByValParameter = new ORPDOClass();
            orByRefParameter = new ORPDOClass();

            //Declare OSCA
            orByRefParameter.DeclareAttribute("b_osca", Constants.OR_ASA_DATATYPE_USERCLASS);
            orByRefParameter.DeclareAttribute("b_osca.i_context_id", Constants.OR_ASA_DATATYPE_INTEGER);
            orByRefParameter.DeclareAttribute("b_osca.i_error_no", Constants.OR_ASA_DATATYPE_INTEGER);
            orByRefParameter.DeclareAttribute("b_osca.i_error_type", Constants.OR_ASA_DATATYPE_INTEGER);
            orByRefParameter.DeclareAttribute("b_osca.v_msg_txt", Constants.OR_ASA_DATATYPE_STRING);
        }
Пример #4
0
 /// <summary>
 /// Declare an attribute on a PDO.
 /// </summary>
 /// <param name="pdo"></param>
 /// <param name="attributeName"></param>
 /// <param name="attributeType"></param>
 public static void DeclareAttribute(ORPDOClass pdo, string attributeName, string attributeType)
 {
     pdo.DeclareAttribute(attributeName, attributeType);
 }