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

			lock (record__) {
				int _current = Current;

				_serialisableobject = new SO_Log[Count];

				Reset();
				while (Read()) {
					_serialisableobject[Current] 
						= new SO_Log(
							parent_ref_.fields_.IDLog,
							parent_ref_.fields_.IDLogcode,
							parent_ref_.fields_.IDUser_posted,
							parent_ref_.fields_.Date_posted,
							parent_ref_.fields_.Logdata
						);
				}

				Current = _current;
			}

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