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

            lock (record__) {
                int _current = Current;

                _serialisableobject = new SO0_Group[Count];

                Reset();
                while (Read())
                {
                    _serialisableobject[Current]
                        = new SO0_Group(
                              parent_ref_.Fields.IDGroup,
                              parent_ref_.Fields.Name
                              );
                }

                Current = _current;
            }

            SC0_Group _serialize_out = new SC0_Group();

            _serialize_out.SO0_Group = _serialisableobject;
            return(_serialize_out);
        }
Пример #2
0
		//public SC0_Group Serialize() {
		//	return new SC0_Group(Record);
		//}
		#endregion
		#region public SC0_Group Serialize();
		public SC0_Group Serialize() {
			SO0_Group[] _serialisableobject;

			lock (record__) {
				int _current = Current;

				_serialisableobject = new SO0_Group[Count];

				Reset();
				while (Read()) {
					_serialisableobject[Current] 
						= new SO0_Group(
							parent_ref_.Fields.IDGroup,
							parent_ref_.Fields.Name
						);
				}

				Current = _current;
			}

			SC0_Group _serialize_out = new SC0_Group();
			_serialize_out.SO0_Group = _serialisableobject;
			return _serialize_out;
		}
Пример #3
0
		public void Open(SC0_Group serialisablecollection_in) {
			Open(serialisablecollection_in.SO0_Group);
		}
Пример #4
0
 public void Open(SC0_Group serialisablecollection_in)
 {
     Open(serialisablecollection_in.SO0_Group);
 }