Esempio n. 1
0
        //public SC_Word Serialize() {
        //	return new SC_Word(Record);
        //}
        #endregion
        #region public SC_Word Serialize();
        public SC_Word Serialize()
        {
            SO_Word[] _serialisableobject;

            lock (record__) {
                int _current = Current;

                _serialisableobject = new SO_Word[Count];

                Reset();
                while (Read())
                {
                    _serialisableobject[Current]
                        = new SO_Word(
                              parent_ref_.fields_.IDWord,
                              parent_ref_.fields_.DeleteThisTestField
                              );
                }

                Current = _current;
            }

            SC_Word _serialize_out = new SC_Word();

            _serialize_out.SO_Word = _serialisableobject;
            return(_serialize_out);
        }
Esempio n. 2
0
 public void Open(SC_Word serialisablecollection_in)
 {
     Open(serialisablecollection_in.SO_Word);
 }