实体访问器全部采用自动注册机制
Stone authored at 2012-05-26 17:46:37
446.00 B
X
using NewLife.Serialization;

namespace XCode.Accessors
{
    class BinaryEntityAccessor : SerializationEntityAccessorBase
    {
        /// <summary>种类</summary>
        public override EntityAccessorTypes Kind { get { return EntityAccessorTypes.Binary; } }

        protected override IWriter GetWriter() { return new BinaryWriterX(); }

        protected override IReader GetReader() { return new BinaryReaderX(); }
    }
}