Пример #1
0
        //public SC_vUserDefaultGroup Serialize() {
        //	return new SC_vUserDefaultGroup(Record);
        //}
        #endregion
        #region public SC_vUserDefaultGroup Serialize();
        public SC_vUserDefaultGroup Serialize()
        {
            SO_vUserDefaultGroup[] _serialisableobject;

            lock (record__) {
                int _current = Current;

                _serialisableobject = new SO_vUserDefaultGroup[Count];

                Reset();
                while (Read())
                {
                    _serialisableobject[Current]
                        = new SO_vUserDefaultGroup(
                              parent_ref_.fields_.IDUser,
                              parent_ref_.fields_.Login,
                              parent_ref_.fields_.IDGroup,
                              parent_ref_.fields_.Name,
                              parent_ref_.fields_.Relationdate
                              );
                }

                Current = _current;
            }

            SC_vUserDefaultGroup _serialize_out = new SC_vUserDefaultGroup();

            _serialize_out.SO_vUserDefaultGroup = _serialisableobject;
            return(_serialize_out);
        }
Пример #2
0
 public void Deserialize(SO_vUserDefaultGroup vUserDefaultGroup_in)
 {
     mainAggregate.Fields = vUserDefaultGroup_in;
 }