Esempio n. 1
0
		//public SC_vUserGroup Serialize() {
		//	return new SC_vUserGroup(Record);
		//}
		#endregion
		#region public SC_vUserGroup Serialize();
		public SC_vUserGroup Serialize() {
			SO_vUserGroup[] _serialisableobject;

			lock (record__) {
				int _current = Current;

				_serialisableobject = new SO_vUserGroup[Count];

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

				Current = _current;
			}

			SC_vUserGroup _serialize_out = new SC_vUserGroup();
			_serialize_out.SO_vUserGroup = _serialisableobject;
			return _serialize_out;
		}
Esempio n. 2
0
		public void Open(SC_vUserGroup serialisablecollection_in) {
			Open(serialisablecollection_in.SO_vUserGroup);
		}