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

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

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

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