예제 #1
0
        protected void BaseAutoSetInner <T>(Expression <Func <TImplementor, T> > forProperty, string valueKey, T value)
        {
            var attrib = AnnotationQueryStructureBinder.GetAutoAttribute(forProperty);

            base.BaseAutoSetInner(attrib.Alias, valueKey, value);
        }
예제 #2
0
        protected T BaseAutoGetInner <T>(Expression <Func <TImplementor, T> > fromProperty, string valueKey, T defaultValue = default(T))
        {
            var attrib = AnnotationQueryStructureBinder.GetAutoAttribute(fromProperty);

            return(this.InnerAttribute <T>(attrib.Alias, valueKey, defaultValue));
        }