增加支持在ResultMap中使用连续属性访问对结果集对象中的嵌套属性赋值; #255
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
功能改进 / Feature Enhancements
新增核心接口与实现 / Added Core Interface and Implementations
IPropertyHolder接口,统一属性访问逻辑Added
IPropertyHolderinterface to unify property access logicPropertyHolder类继承自IPropertyHolderModified
PropertyHolderto inherit fromIPropertyHolderPropertyChainHolder类实现嵌套属性链支持Added
PropertyChainHolderclass to support nested property chains嵌套属性映射支持 / Nested Property Mapping Support
EntityDeserializer.ResolveProperty方法,支持解析如NestedProp1.NestedProp2的连续属性路径Modified
EntityDeserializer.ResolvePropertyto resolve chained property paths (e.g.,NestedProp1.NestedProp2)EntityDeserializer.CreateDeserialize方法,自动初始化空嵌套对象Modified
EntityDeserializer.CreateDeserializeto auto-initialize null nested objects测试覆盖 / Testing
Added unit tests for nested property mapping
Validated multi-level object initialization and data integrity
影响范围 / Impact
IPropertyHolder.cs,PropertyHolder.cs,PropertyChainHolder.cs,EntityDeserializer.csEntityDeserializerTest.cs,AllPrimitive.xml,NestedEntity.cs示例场景 / Example Usage