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

			lock (record__) {
				int _current = Current;

				_serialisableobject = new SO_User[Count];

				Reset();
				while (Read()) {
					_serialisableobject[Current] 
						= new SO_User(
							parent_ref_.fields_.IDUser,
							parent_ref_.fields_.Login,
							parent_ref_.fields_.Password,
							parent_ref_.fields_.SomeNullValue
						);
				}

				Current = _current;
			}

			SC_User _serialize_out = new SC_User();
			_serialize_out.SO_User = _serialisableobject;
			return _serialize_out;
		}
Пример #2
0
		public void Open(SC_User serialisablecollection_in) {
			Open(serialisablecollection_in.SO_User);
		}