//public SC_GroupPermition Serialize() { // return new SC_GroupPermition(Record); //} #endregion #region public SC_GroupPermition Serialize(); public SC_GroupPermition Serialize() { SO_GroupPermition[] _serialisableobject; lock (record__) { int _current = Current; _serialisableobject = new SO_GroupPermition[Count]; Reset(); while (Read()) { _serialisableobject[Current] = new SO_GroupPermition( parent_ref_.fields_.IDGroup, parent_ref_.fields_.IDPermition ); } Current = _current; } SC_GroupPermition _serialize_out = new SC_GroupPermition(); _serialize_out.SO_GroupPermition = _serialisableobject; return(_serialize_out); }
public void Deserialize(SO_GroupPermition GroupPermition_in) { mainAggregate.Fields = GroupPermition_in; }