public override object Update(Type type, object toUpdate) { ObjectReaderWriter.Write(type, toUpdate); SaveCollections(toUpdate); return(toUpdate); }
public override object Update(object toUpdate) { ObjectReaderWriter.Write(toUpdate.GetType(), toUpdate); SaveCollections(toUpdate); return(toUpdate); }
public override T Update <T>(T toUpdate) { ObjectReaderWriter.Write(typeof(T), toUpdate); SaveCollections(toUpdate); return(toUpdate); }