// ================================================================================== /// <summary> /// This method reads the content of the data row object containing a query result /// into an Activity Record object. /// </summary> /// <param name="Row">DataRow: a data row record object</param> /// <returns>EvActivityForm: a data row object</returns> /// <remarks> /// This method consists of the following steps: /// /// 1. Extract the data object values from the data row object and add to the activity form object. /// /// 2. Return the activity form object. /// </remarks> // ---------------------------------------------------------------------------------- private EvObjectParameter readDataRow(DataRow Row) { // // Initialise application parameter object // EvObjectParameter parameter = new EvObjectParameter( ); // // Extract the data object values from the data row object and add to the activity form object. // parameter.Guid = EvSqlMethods.getGuid(Row, "OBJ_GUID"); parameter.Order = EvSqlMethods.getInteger(Row, "OBP_ORDER"); parameter.Name = EvSqlMethods.getString(Row, "OBP_NAME"); parameter.DataType = EvStatics.parseEnumValue <EvDataTypes> (EvSqlMethods.getString(Row, "OBP_TYPE")); parameter.Value = EvSqlMethods.getString(Row, "OBP_VALUE"); parameter.Options = EvSqlMethods.getString(Row, "OBP_OPTIONS"); // // Return the application parameter object. // return(parameter); }// End readDataRow method.