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;
 }
예제 #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);
            }
        }
예제 #4
0
 public override bool IsSet(Member property)
 {
     return(mapping.IsSpecified(mappedProperties.Get(property)));
 }