示例#1
0
        //public SC0_Logcode Serialize() {
        //	return new SC0_Logcode(Record);
        //}
        #endregion
        #region public SC0_Logcode Serialize();
        public SC0_Logcode Serialize()
        {
            SO0_Logcode[] _serialisableobject;

            lock (record__) {
                int _current = Current;

                _serialisableobject = new SO0_Logcode[Count];

                Reset();
                while (Read())
                {
                    _serialisableobject[Current]
                        = new SO0_Logcode(
                              parent_ref_.Fields.IDLogcode,
                              parent_ref_.Fields.Warning,
                              parent_ref_.Fields.Error,
                              parent_ref_.Fields.Code,
                              parent_ref_.Fields.Description
                              );
                }

                Current = _current;
            }

            SC0_Logcode _serialize_out = new SC0_Logcode();

            _serialize_out.SO0_Logcode = _serialisableobject;
            return(_serialize_out);
        }
示例#2
0
		//public SC0_Logcode Serialize() {
		//	return new SC0_Logcode(Record);
		//}
		#endregion
		#region public SC0_Logcode Serialize();
		public SC0_Logcode Serialize() {
			SO0_Logcode[] _serialisableobject;

			lock (record__) {
				int _current = Current;

				_serialisableobject = new SO0_Logcode[Count];

				Reset();
				while (Read()) {
					_serialisableobject[Current] 
						= new SO0_Logcode(
							parent_ref_.Fields.IDLogcode,
							parent_ref_.Fields.Warning,
							parent_ref_.Fields.Error,
							parent_ref_.Fields.Code,
							parent_ref_.Fields.Description
						);
				}

				Current = _current;
			}

			SC0_Logcode _serialize_out = new SC0_Logcode();
			_serialize_out.SO0_Logcode = _serialisableobject;
			return _serialize_out;
		}
示例#3
0
 public void Open(SC0_Logcode serialisablecollection_in)
 {
     Open(serialisablecollection_in.SO0_Logcode);
 }
示例#4
0
		public void Open(SC0_Logcode serialisablecollection_in) {
			Open(serialisablecollection_in.SO0_Logcode);
		}