/*
OpenNxSerialization Framework
Copyright (C) 2006 - 2008 "NeXtreme Innovations"
[The Next Xtreme in ingenuity]
This program is free software, distributed under the terms of
the GNU General Public License Version 2. See the License file
at the top of the source tree.
*/
using System;
using System.Data;
using NeXtreme.OpenNxSerialization.IO;
namespace NeXtreme.OpenNxSerialization.Surrogates
{
/// <summary>
/// Surrogate for generic <see cref="System.Data.DataSet"/> types.
/// </summary>
sealed class NxDataSetSerializationSurrogate : NxSerializationSurrogate, INxBuiltinSerializationSurrogate
{
public NxDataSetSerializationSurrogate() : base(typeof(DataSet)) { }
public override object Instantiate(INxBinaryReader reader)
{
throw new NotImplementedException();
}
public override object ReadDirect(INxBinaryReader reader, object graph)
{
throw new NotImplementedException();
}
public override void WriteDirect(INxBinaryWriter writer, object graph)
{
throw new NotImplementedException();
}
}
/// <summary>
/// Surrogate for generic <see cref="System.Data.DataTable"/> types.
/// </summary>
sealed class NxDataTableSerializationSurrogate : NxSerializationSurrogate, INxBuiltinSerializationSurrogate
{
public NxDataTableSerializationSurrogate() : base(typeof(DataTable)) { }
public override object Instantiate(INxBinaryReader reader)
{
throw new NotImplementedException();
}
public override object ReadDirect(INxBinaryReader reader, object graph)
{
throw new NotImplementedException();
}
public override void WriteDirect(INxBinaryWriter writer, object graph)
{
throw new NotImplementedException();
}
}
/// <summary>
/// Surrogate for generic <see cref="System.Data.DataRow"/> types.
/// </summary>
sealed class NxDataRowSerializationSurrogate : NxSerializationSurrogate, INxBuiltinSerializationSurrogate
{
public NxDataRowSerializationSurrogate() : base(typeof(DataRow)) { }
public override object Instantiate(INxBinaryReader reader)
{
throw new NotImplementedException();
}
public override object ReadDirect(INxBinaryReader reader, object graph)
{
throw new NotImplementedException();
}
public override void WriteDirect(INxBinaryWriter writer, object graph)
{
throw new NotImplementedException();
}
}
/// <summary>
/// Surrogate for generic <see cref="System.Data.DataColumn"/> types.
/// </summary>
sealed class NxDataColumnSerializationSurrogate : NxSerializationSurrogate, INxBuiltinSerializationSurrogate
{
public NxDataColumnSerializationSurrogate() : base(typeof(DataColumn)) { }
public override object Instantiate(INxBinaryReader reader)
{
throw new NotImplementedException();
}
public override object ReadDirect(INxBinaryReader reader, object graph)
{
throw new NotImplementedException();
}
public override void WriteDirect(INxBinaryWriter writer, object graph)
{
throw new NotImplementedException();
}
}
}