using System; using System.Collections.Generic; using System.Text; namespace JiShe.CollectBus.Analyzers.Shared { public interface ISourceEntityAccessor { /// /// 获取属性值 /// /// /// /// object GetPropertyValue(T entity, string propertyName); /// /// 设置属性值 /// /// /// /// void SetPropertyValue(T entity, string propertyName, object value); ///// ///// 判断是否是元组属性 ///// ///// ///// //bool IsTupleProperty(string propertyName); ///// ///// 获取元组属性值 ///// ///// ///// ///// //(object Item1, object Item2) GetTupleParts(T entity, string tuplePropertyName); } }