//public SC_Logcode Serialize() { // return new SC_Logcode(Record); //} #endregion #region public SC_Logcode Serialize(); public SC_Logcode Serialize() { SO_Logcode[] _serialisableobject; lock (record__) { int _current = Current; _serialisableobject = new SO_Logcode[Count]; Reset(); while (Read()) { _serialisableobject[Current] = new SO_Logcode( parent_ref_.fields_.IDLogcode, parent_ref_.fields_.Warning, parent_ref_.fields_.Error, parent_ref_.fields_.Code, parent_ref_.fields_.Description ); } Current = _current; } SC_Logcode _serialize_out = new SC_Logcode(); _serialize_out.SO_Logcode = _serialisableobject; return _serialize_out; }
public void Open(SC_Logcode serialisablecollection_in) { Open(serialisablecollection_in.SO_Logcode); }