示例#1
0
文件: RO0_Log.cs 项目: katshann/ogen
		//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;
		}
示例#2
0
文件: RO0_Log.cs 项目: katshann/ogen
		public void Open(SC_Log serialisablecollection_in) {
			Open(serialisablecollection_in.SO_Log);
		}