The second article in the series covers the injection, binding annotations, and component types of the specification. Supported injection types are.
本系列的第二部分涵盖了规范的注入、绑定标注和组件类型。
So if you wish not to use external mapping file then annotations can be used for your data binding needs.
因此,如果您不想使用外部映射文件,那么可以使用注释来满足您的数据绑定需求。
You can either embed the customizations as annotations within the actual Schema document, or supply them separately through the use of a separate external binding declaration document.
要么在实际的Schema文档中以注释形式嵌入这些定制,要么通过使用单独的外部绑定声明文档来单独提供这些定制。
应用推荐