コード例 #1
0
        /// <summary>This method recives the fields values as an array and must return a record object.</summary>
        /// <param name="fieldValues">The record fields values.</param>
        /// <returns>The record object.</returns>
        private object FillRecord(object[] fieldValues)
        {
            if (FillRecordCallback == null)
            {
                throw new BadUsageException("You can´t extract records a null FillRecordCallback. Check the docs for help.");
            }

            object res = mRecordInfo.CreateRecordObject();

            FillRecordCallback(res, fieldValues);
            return(res);
        }
コード例 #2
0
 public object MapRow2Record(DataRow dr)
 {
     object record = mRecordInfo.CreateRecordObject();