public new void LazyLoad()
 {
     if (!mapping.IsSpecified("Lazy"))
     {
         mapping.Lazy = nextBool;
     }
     nextBool = true;
 }
 public new void Update()
 {
     if (!mapping.IsSpecified("Update"))
     {
         mapping.Update = nextBool;
     }
     nextBool = true;
 }
Ejemplo n.º 3
0
        public override void ProcessComponent(ComponentMapping mapping)
        {
            document = WriteComponent(mapping.ComponentType.GetElementName(), mapping);

            if (mapping.IsSpecified("Class"))
            {
                document.DocumentElement.WithAtt("class", mapping.Class);
            }

            if (mapping.IsSpecified("Lazy"))
            {
                document.DocumentElement.WithAtt("lazy", mapping.Lazy);
            }
        }
Ejemplo n.º 4
0
 public override bool IsSet(Member property)
 {
     return(mapping.IsSpecified(mappedProperties.Get(property)));
 }