Ejemplo n.º 1
0
        protected void BaseAutoSet <T>(Expression <Func <TImplementor, T> > forProperty, T value)
        {
            var attrib = AnnotationQueryStructureBinder.GetAutoAttribute(forProperty);

            this.Attributes[attrib.Alias].DynamicValue = value;
        }
Ejemplo n.º 2
0
        protected T BaseAutoGet <T>(Expression <Func <TImplementor, T> > fromProperty, T defaultValue = default(T))
        {
            var attrib = AnnotationQueryStructureBinder.GetAutoAttribute(fromProperty);

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