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

            lock (record__) {
                int _current = Current;

                _serialisableobject = new SO0_Log[Count];

                Reset();
                while (Read())
                {
                    _serialisableobject[Current]
                        = new SO0_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;
            }

            SC0_Log _serialize_out = new SC0_Log();

            _serialize_out.SO0_Log = _serialisableobject;
            return(_serialize_out);
        }
Esempio n. 2
0
		//public SC0_Log Serialize() {
		//	return new SC0_Log(Record);
		//}
		#endregion
		#region public SC0_Log Serialize();
		public SC0_Log Serialize() {
			SO0_Log[] _serialisableobject;

			lock (record__) {
				int _current = Current;

				_serialisableobject = new SO0_Log[Count];

				Reset();
				while (Read()) {
					_serialisableobject[Current] 
						= new SO0_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;
			}

			SC0_Log _serialize_out = new SC0_Log();
			_serialize_out.SO0_Log = _serialisableobject;
			return _serialize_out;
		}
Esempio n. 3
0
 public void Open(SC0_Log serialisablecollection_in)
 {
     Open(serialisablecollection_in.SO0_Log);
 }
Esempio n. 4
0
		public void Open(SC0_Log serialisablecollection_in) {
			Open(serialisablecollection_in.SO0_Log);
		}