首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > 其他 > 对象的XML映射

对象的XML映射

  • 资源大小:45.01 kB
  • 上传时间:2021-06-30
  • 下载次数:0次
  • 浏览次数:1次
  • 资源积分:1积分
  • 标      签: xml 映射 对象

资 源 简 介

OXM is a framework for transforming .NET objects from/to XML. It features: Full control over the generated XML. POCO approach i.e. no attributes to pollute your domain entities. Fluent DSL for defining the mapping. Strongly typed/refactor-friendly. No reflection. Quick Start Let"s convert the simple class Person to the XML described below. Notice that we chose to serialize the Name property to an attribute and the Age property to an XML element to showcase the flexibility of the framework. public class Person{ // public string Name { get; set; } // 12 public int Age { get; set; } // } For that we have to write a mapping class that defines the transformation rules between the two forms. ``` public class PersonMap : RoolElementMap { P

文 件 列 表

build_artifacts
nunit
_BuildInfo.xml
nunit
index.html
nunit-results.xml
deployment
_BuildInfo.xml
OXM
OXM.dll
OXM.pdb
_BuildInfo.xml

相 关 资 源

您 可 能 感 兴 趣 的

同 类 别 推 荐

VIP VIP