protected void BaseAutoSet <T>(Expression <Func <TImplementor, T> > forProperty, T value) { var attrib = AnnotationQueryStructureBinder.GetAutoAttribute(forProperty); this.Attributes[attrib.Alias].DynamicValue = value; }
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)); }