Exemplo n.º 1
0
		//public SC_UserGroup Serialize() {
		//	return new SC_UserGroup(Record);
		//}
		#endregion
		#region public SC_UserGroup Serialize();
		public SC_UserGroup Serialize() {
			SO_UserGroup[] _serialisableobject;

			lock (record__) {
				int _current = Current;

				_serialisableobject = new SO_UserGroup[Count];

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

				Current = _current;
			}

			SC_UserGroup _serialize_out = new SC_UserGroup();
			_serialize_out.SO_UserGroup = _serialisableobject;
			return _serialize_out;
		}
Exemplo n.º 2
0
		public void Open(SC_UserGroup serialisablecollection_in) {
			Open(serialisablecollection_in.SO_UserGroup);
		}