Beispiel #1
0
		//public SC0_UserGroup Serialize() {
		//	return new SC0_UserGroup(Record);
		//}
		#endregion
		#region public SC0_UserGroup Serialize();
		public SC0_UserGroup Serialize() {
			SO0_UserGroup[] _serialisableobject;

			lock (record__) {
				int _current = Current;

				_serialisableobject = new SO0_UserGroup[Count];

				Reset();
				while (Read()) {
					_serialisableobject[Current] 
						= new SO0_UserGroup(
							parent_ref_.Fields.IDUser,
							parent_ref_.Fields.IDGroup,
							parent_ref_.Fields.Relationdate,
							parent_ref_.Fields.Defaultrelation
						);
				}

				Current = _current;
			}

			SC0_UserGroup _serialize_out = new SC0_UserGroup();
			_serialize_out.SO0_UserGroup = _serialisableobject;
			return _serialize_out;
		}
Beispiel #2
0
        //public SC0_UserGroup Serialize() {
        //	return new SC0_UserGroup(Record);
        //}
        #endregion
        #region public SC0_UserGroup Serialize();
        public SC0_UserGroup Serialize()
        {
            SO0_UserGroup[] _serialisableobject;

            lock (record__) {
                int _current = Current;

                _serialisableobject = new SO0_UserGroup[Count];

                Reset();
                while (Read())
                {
                    _serialisableobject[Current]
                        = new SO0_UserGroup(
                              parent_ref_.Fields.IDUser,
                              parent_ref_.Fields.IDGroup,
                              parent_ref_.Fields.Relationdate,
                              parent_ref_.Fields.Defaultrelation
                              );
                }

                Current = _current;
            }

            SC0_UserGroup _serialize_out = new SC0_UserGroup();

            _serialize_out.SO0_UserGroup = _serialisableobject;
            return(_serialize_out);
        }
Beispiel #3
0
		public void Open(SC0_UserGroup serialisablecollection_in) {
			Open(serialisablecollection_in.SO0_UserGroup);
		}
Beispiel #4
0
 public void Open(SC0_UserGroup serialisablecollection_in)
 {
     Open(serialisablecollection_in.SO0_UserGroup);
 }