Example #1
0
        //public SC_Permition Serialize() {
        //	return new SC_Permition(Record);
        //}
        #endregion
        #region public SC_Permition Serialize();
        public SC_Permition Serialize()
        {
            SO_Permition[] _serialisableobject;

            lock (record__) {
                int _current = Current;

                _serialisableobject = new SO_Permition[Count];

                Reset();
                while (Read())
                {
                    _serialisableobject[Current]
                        = new SO_Permition(
                              parent_ref_.fields_.IDPermition,
                              parent_ref_.fields_.Name
                              );
                }

                Current = _current;
            }

            SC_Permition _serialize_out = new SC_Permition();

            _serialize_out.SO_Permition = _serialisableobject;
            return(_serialize_out);
        }
Example #2
0
 public void Open(SC_Permition serialisablecollection_in)
 {
     Open(serialisablecollection_in.SO_Permition);
 }