예제 #1
0
        //public SC_WordLanguage Serialize() {
        //	return new SC_WordLanguage(Record);
        //}
        #endregion
        #region public SC_WordLanguage Serialize();
        public SC_WordLanguage Serialize()
        {
            SO_WordLanguage[] _serialisableobject;

            lock (record__) {
                int _current = Current;

                _serialisableobject = new SO_WordLanguage[Count];

                Reset();
                while (Read())
                {
                    _serialisableobject[Current]
                        = new SO_WordLanguage(
                              parent_ref_.fields_.IDWord,
                              parent_ref_.fields_.IDLanguage,
                              parent_ref_.fields_.Translation
                              );
                }

                Current = _current;
            }

            SC_WordLanguage _serialize_out = new SC_WordLanguage();

            _serialize_out.SO_WordLanguage = _serialisableobject;
            return(_serialize_out);
        }
예제 #2
0
 public void Open(SC_WordLanguage serialisablecollection_in)
 {
     Open(serialisablecollection_in.SO_WordLanguage);
 }